diff options
author | Dmitry Monakhov <dmonakhov@openvz.org> | 2014-07-28 04:30:29 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-07-28 04:30:29 +0200 |
commit | 29faed1638e6b2ace499e1b848cc3337ef6a6ad5 (patch) | |
tree | 0f3dfe9be20a687eefe29bf6c415aa75863666c9 /fs/ext4/extents.c | |
parent | ext4: add i_data_sem sanity check (diff) | |
download | linux-29faed1638e6b2ace499e1b848cc3337ef6a6ad5.tar.xz linux-29faed1638e6b2ace499e1b848cc3337ef6a6ad5.zip |
ext4: use correct depth value
Inode's depth can be changed from here:
ext4_ext_try_to_merge() ->ext4_ext_try_to_merge_up()
We must use correct value.
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext4/extents.c')
-rw-r--r-- | fs/ext4/extents.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index ee93f82630c6..6950babecde7 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c @@ -3254,7 +3254,7 @@ out: fix_extent_len: ex->ee_len = orig_ex.ee_len; - ext4_ext_dirty(handle, inode, path + depth); + ext4_ext_dirty(handle, inode, path + path->p_depth); return err; } |