mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-04 04:04:19 +00:00
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>
This commit is contained in:
parent
0dd771b7d6
commit
2b7e0573a4
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user