mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 09:04:39 +02:00
smb/server: update some misguided comment of smb2_0_server_cmds proc
These functions return error code rather than always returning 0. 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
a3c4445fdb
commit
7d9f51d36b
|
|
@ -2158,7 +2158,7 @@ static int smb2_create_open_flags(bool file_present, __le32 access,
|
|||
* smb2_tree_disconnect() - handler for smb tree connect request
|
||||
* @work: smb work containing request buffer
|
||||
*
|
||||
* Return: 0
|
||||
* Return: 0 on success, otherwise error
|
||||
*/
|
||||
int smb2_tree_disconnect(struct ksmbd_work *work)
|
||||
{
|
||||
|
|
@ -2222,7 +2222,7 @@ int smb2_tree_disconnect(struct ksmbd_work *work)
|
|||
* smb2_session_logoff() - handler for session log off request
|
||||
* @work: smb work containing request buffer
|
||||
*
|
||||
* Return: 0
|
||||
* Return: 0 on success, otherwise error
|
||||
*/
|
||||
int smb2_session_logoff(struct ksmbd_work *work)
|
||||
{
|
||||
|
|
@ -5834,7 +5834,7 @@ static noinline int smb2_close_pipe(struct ksmbd_work *work)
|
|||
* smb2_close() - handler for smb2 close file command
|
||||
* @work: smb work containing close request buffer
|
||||
*
|
||||
* Return: 0
|
||||
* Return: 0 on success, otherwise error
|
||||
*/
|
||||
int smb2_close(struct ksmbd_work *work)
|
||||
{
|
||||
|
|
@ -5959,7 +5959,7 @@ int smb2_close(struct ksmbd_work *work)
|
|||
* smb2_echo() - handler for smb2 echo(ping) command
|
||||
* @work: smb work containing echo request buffer
|
||||
*
|
||||
* Return: 0
|
||||
* Return: 0 on success, otherwise error
|
||||
*/
|
||||
int smb2_echo(struct ksmbd_work *work)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user