diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2008-01-29 05:58:27 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-01-29 05:58:27 +0100 |
commit | c278bfecebfb1ed67c326ef472660878baa745cd (patch) | |
tree | 7207594cef5bd04ea7333a8321d78aefee01a540 /fs/ext4/ioctl.c | |
parent | ext4: remove unused code from ext4_find_entry() (diff) | |
download | linux-c278bfecebfb1ed67c326ef472660878baa745cd.tar.xz linux-c278bfecebfb1ed67c326ef472660878baa745cd.zip |
ext4: Make ext4_get_blocks_wrap take the truncate_mutex early.
When doing a migrate from ext3 to ext4 inode we need to make sure the test
for inode type and walking inode data happens inside lock. To make this
happen move truncate_mutex early before checking the i_flags.
This actually should enable us to remove the verify_chain().
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Diffstat (limited to 'fs/ext4/ioctl.c')
0 files changed, 0 insertions, 0 deletions