summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-08-17 20:28:08 +0100
committerJens Axboe <axboe@kernel.dk>2021-08-23 13:10:43 -0600
commitae421d9350b51cba1daa28ee6eb14fbce7517eca (patch)
treee98150d11fba8c7176a7c50843a43d3971c22d62 /scripts/patch-kernel
parent906c6caaf586180261ea581915e1cf8bc466bd69 (diff)
downloadlwn-ae421d9350b51cba1daa28ee6eb14fbce7517eca.tar.gz
lwn-ae421d9350b51cba1daa28ee6eb14fbce7517eca.zip
io_uring: better encapsulate buffer select for rw
Make io_put_rw_kbuf() to do the REQ_F_BUFFER_SELECTED check, so all the callers don't need to hand code it. The number of places where we call io_put_rw_kbuf() is growing, so saves some pain. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/3df3919e5e7efe03420c44ab4d9317a81a9cf398.1629228203.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions