diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c index a35ffb8af290..9128e165a673 100644 --- a/fs/ext4/namei.c +++ b/fs/ext4/namei.c @@ -3726,7 +3726,8 @@ static void ext4_resetent(handle_t *handle, struct ext4_renament *ent, * so the old->de may no longer valid and need to find it again * before reset old inode info. */ - old.bh = ext4_find_entry(old.dir, &old.dentry->d_name, &old.de, NULL); + old.bh = ext4_find_entry(old.dir, &old.dentry->d_name, &old.de, NULL, + NULL); if (IS_ERR(old.bh)) retval = PTR_ERR(old.bh); if (!old.bh)