summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Monakhov <dmonakhov@openvz.org>2014-07-27 22:30:29 -0400
committerTheodore Ts'o <tytso@mit.edu>2014-07-27 22:30:29 -0400
commit29faed1638e6b2ace499e1b848cc3337ef6a6ad5 (patch)
tree0f3dfe9be20a687eefe29bf6c415aa75863666c9
parent4b1f1660710c2ddcefc08c289e66a32b6bc2a2e3 (diff)
downloadop-kernel-dev-29faed1638e6b2ace499e1b848cc3337ef6a6ad5.zip
op-kernel-dev-29faed1638e6b2ace499e1b848cc3337ef6a6ad5.tar.gz
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>
-rw-r--r--fs/ext4/extents.c2
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;
}
OpenPOWER on IntegriCloud