Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 29faed16 authored by Dmitry Monakhov's avatar Dmitry Monakhov Committed by Theodore Ts'o
Browse files

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: default avatarDmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
parent 4b1f1660
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3254,7 +3254,7 @@ static int ext4_split_extent_at(handle_t *handle,

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;
}