diff options
author | 2024-08-22 08:20:54 +0000 | |
---|---|---|
committer | 2024-08-22 09:52:00 -0500 | |
commit | 2b7e0573a49064d9c94c114b4471327cd96ae39c (patch) | |
tree | 31819a9c08f5341ddf61f460067d7dd4d55ad8bd | |
parent | smb/server: remove useless assignment of 'file_present' in smb2_open() (diff) | |
download | linux-rng-2b7e0573a49064d9c94c114b4471327cd96ae39c.tar.xz linux-rng-2b7e0573a49064d9c94c114b4471327cd96ae39c.zip |
smb/server: update misguided comment of smb2_allocate_rsp_buf()
smb2_allocate_rsp_buf() will return other error code except -ENOMEM.
Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to '')
-rw-r--r-- | fs/smb/server/smb2pdu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/smb/server/smb2pdu.c b/fs/smb/server/smb2pdu.c index cd23517d9640..20846a4d3031 100644 --- a/fs/smb/server/smb2pdu.c +++ b/fs/smb/server/smb2pdu.c @@ -519,7 +519,7 @@ int init_smb2_rsp_hdr(struct ksmbd_work *work) * smb2_allocate_rsp_buf() - allocate smb2 response buffer * @work: smb work containing smb request buffer * - * Return: 0 on success, otherwise -ENOMEM + * Return: 0 on success, otherwise error */ int smb2_allocate_rsp_buf(struct ksmbd_work *work) { |