mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue