mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 04:02:20 +00:00
smb/server: remove useless assignment of 'file_present' in smb2_open()
The variable is already true here. Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn> Acked-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
parent
4e8771a366
commit
0dd771b7d6
@ -3096,7 +3096,6 @@ int smb2_open(struct ksmbd_work *work)
|
||||
goto err_out;
|
||||
}
|
||||
|
||||
file_present = true;
|
||||
idmap = mnt_idmap(path.mnt);
|
||||
} else {
|
||||
if (rc != -ENOENT)
|
||||
|
Loading…
Reference in New Issue
Block a user