]> Gentwo Git Trees - linux/.git/commit
smb/server: fix return value of smb2_notify()
authorChenXiaoSong <chenxiaosong@kylinos.cn>
Fri, 17 Oct 2025 10:46:08 +0000 (18:46 +0800)
committerSteve French <stfrench@microsoft.com>
Mon, 1 Dec 2025 03:11:43 +0000 (21:11 -0600)
commitd1a30b9ddc3d4c0e38666bd166d51863cb39f1c4
treef001c5fdfba0c6dcce402c2f50ef835c1daec601
parentc5b462e35373a68a5a7954f5e00383998cc7fe92
smb/server: fix return value of smb2_notify()

smb2_notify() should return error code when an error occurs,
__process_request() will print the error messages.

I may implement the SMB2 CHANGE_NOTIFY response (see MS-SMB2 2.2.36)
in the future.

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