projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e8771a
)
smb/server: remove useless assignment of 'file_present' in smb2_open()
author
ChenXiaoSong
<chenxiaosong@kylinos.cn>
Thu, 22 Aug 2024 08:20:52 +0000
(08:20 +0000)
committer
Steve French
<stfrench@microsoft.com>
Thu, 22 Aug 2024 14:52:00 +0000
(09:52 -0500)
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>
fs/smb/server/smb2pdu.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/smb/server/smb2pdu.c
b/fs/smb/server/smb2pdu.c
index 5d170ab0817d5afc6b8ca4378353ce7107fe74f5..cd23517d964069055db5120e24c38cf147bac5ff 100644
(file)
--- a/
fs/smb/server/smb2pdu.c
+++ b/
fs/smb/server/smb2pdu.c
@@
-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)