Re: [PATCH 1/8] smb/server: fix return value of smb2_open()

From: Namjae Jeon
Date: Wed Aug 21 2024 - 20:49:43 EST


On Tue, Aug 20, 2024 at 11:35 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@xxxxxxxxxxxxxxxx>
Looks good to me.
Acked-by: Namjae Jeon <linkinjeon@xxxxxxxxxx>
Thanks!