diff options
author | Dmitry Monakhov <dmonakhov@openvz.org> | 2014-07-28 02:30:29 (GMT) |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-07-28 02:30:29 (GMT) |
commit | 29faed1638e6b2ace499e1b848cc3337ef6a6ad5 (patch) | |
tree | 0f3dfe9be20a687eefe29bf6c415aa75863666c9 /fs/ext4/extents.c | |
parent | 4b1f1660710c2ddcefc08c289e66a32b6bc2a2e3 (diff) | |
download | linux-29faed1638e6b2ace499e1b848cc3337ef6a6ad5.tar.xz |
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 ee93f82..6950bab 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; } |