summaryrefslogtreecommitdiff
path: root/mm/slab.c
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2023-10-09 17:57:20 +0300
committerSteve French <stfrench@microsoft.com>2023-10-23 03:06:27 +0300
commit1819a904299942b309f687cc0f08b123500aa178 (patch)
tree18683d1fce7acde6ad5fca692664c8b6dc4b9115 /mm/slab.c
parenteacc655e18d1dec9b50660d16a1ddeeb4d6c48f2 (diff)
downloadlinux-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 'mm/slab.c')
0 files changed, 0 insertions, 0 deletions