diff options
| author | 2023-10-09 23:57:20 +0900 | |
|---|---|---|
| committer | 2023-10-22 19:06:27 -0500 | |
| commit | 1819a904299942b309f687cc0f08b123500aa178 (patch) | |
| tree | 18683d1fce7acde6ad5fca692664c8b6dc4b9115 /scripts/basic/git:/ssh: | |
| parent | ksmbd: Remove unused field in ksmbd_user struct (diff) | |
ksmbd: reorganize ksmbd_iov_pin_rsp()
If ksmbd_iov_pin_rsp fail, io vertor should be rollback.
This patch moves memory allocations to before setting the io vector
to avoid rollbacks.
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 'scripts/basic/git:/ssh:')
0 files changed, 0 insertions, 0 deletions
