ext4: fix incorrect offset
authorWang Jianjian <wangjianjian0@foxmail.com>
Thu, 24 Aug 2023 15:23:24 +0000 (23:23 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 6 Oct 2023 02:32:14 +0000 (22:32 -0400)
commit8fedebb5ea183994aca39af3f80623f5db42fff7
treef86f34f5b79c77020ec02b1ca2514bdf01454bf0
parent8e387c89e96b9543a339f84043cf9df15fed2632
ext4: fix incorrect offset

The last argument of ext4_check_dir_entry is dentry offset int the
file.  Luckily this error only results in the wrong offset being
printed in the eventual error message.

Signed-off-by: Wang Jianjian <wangjianjian0@foxmail.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/tencent_F992989953734FD5DE3F88ECB2191A856206@qq.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/namei.c