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