Re: [PATCH v2 01/12] smb/server: fix return value of smb2_open()

From: Namjae Jeon
Date: Thu Aug 22 2024 - 07:49:35 EST


On Thu, Aug 22, 2024 at 5:22 PM <chenxiaosong@xxxxxxxxxxxxxxxx> wrote:
>
> From: ChenXiaoSong <chenxiaosong@xxxxxxxxxx>
>
> In most error cases, error code is not returned in smb2_open(),
> __process_request() will not print error message.
>
> Fix this by returning the correct value at the end of smb2_open().
>
> Signed-off-by: ChenXiaoSong <chenxiaosong@xxxxxxxxxx>
> Acked-by: Namjae Jeon <linkinjeon@xxxxxxxxxx>
Applied it to #ksmbd-for-next-next.
Thanks.