diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c index b43ef3ef63de..b8cdc8bef82f 100644 --- a/fs/ext4/namei.c +++ b/fs/ext4/namei.c @@ -3671,7 +3671,7 @@ 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)