]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
smb/server: fix return value of smb2_ioctl()
authorChenXiaoSong <chenxiaosong@kylinos.cn>
Fri, 17 Oct 2025 10:46:10 +0000 (18:46 +0800)
committerSteve French <stfrench@microsoft.com>
Mon, 1 Dec 2025 03:11:43 +0000 (21:11 -0600)
commit269df046c1e15ab34fa26fd90db9381f022a0963
tree0d3c77b728745dcbde91d1d0c32e7a3ce0b2467b
parentdafe22bc676d4fcb1ccb193c8cc3dda57942509d
smb/server: fix return value of smb2_ioctl()

__process_request() will not print error messages if smb2_ioctl()
always returns 0.

Fix this by returning the correct value at the end of function.

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