diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2023-10-09 17:57:20 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-10-23 03:06:27 +0300 |
commit | 1819a904299942b309f687cc0f08b123500aa178 (patch) | |
tree | 18683d1fce7acde6ad5fca692664c8b6dc4b9115 /tools/perf/scripts/python/stackcollapse.py | |
parent | eacc655e18d1dec9b50660d16a1ddeeb4d6c48f2 (diff) | |
download | linux-1819a904299942b309f687cc0f08b123500aa178.tar.xz |
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions