Commit 0737964b authored by Robin Dong's avatar Robin Dong Committed by Theodore Ts'o

ext4: correct the debug message in ext4_ext_insert_extent

The debug message in ext4_ext_insert_extent before moving extent
is incorrect (the "from xx to xx").
Signed-off-by: default avatarRobin Dong <sanbai@taobao.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 5718789d
...@@ -1806,7 +1806,7 @@ int ext4_ext_insert_extent(handle_t *handle, struct inode *inode, ...@@ -1806,7 +1806,7 @@ int ext4_ext_insert_extent(handle_t *handle, struct inode *inode,
ext4_ext_pblock(newext), ext4_ext_pblock(newext),
ext4_ext_is_uninitialized(newext), ext4_ext_is_uninitialized(newext),
ext4_ext_get_actual_len(newext), ext4_ext_get_actual_len(newext),
nearex, len, nearex + 1, nearex + 2); nearex, len, nearex, nearex + 1);
memmove(nearex + 1, nearex, len); memmove(nearex + 1, nearex, len);
path[depth].p_ext = nearex; path[depth].p_ext = nearex;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment