diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2023-10-09 17:58:15 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-10-13 06:44:05 +0300 |
commit | be0f89d4419dc5413a1cf06db3671c9949be0d52 (patch) | |
tree | 0111b447baa724d6e0a153e227cdc3d95faeaacd /fs/jbd2/commit.c | |
parent | f43328357defc0dc9d28dbd06dc3361fd2b22e28 (diff) | |
download | linux-be0f89d4419dc5413a1cf06db3671c9949be0d52.tar.xz |
ksmbd: fix wrong error response status by using set_smb2_rsp_status()
set_smb2_rsp_status() after __process_request() sets the wrong error
status. This patch resets all iov vectors and sets the error status
on clean one.
Fixes: e2b76ab8b5c9 ("ksmbd: add support for read compound")
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions