summaryrefslogtreecommitdiff
path: root/fs/io-wq.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-06-17 20:14:02 +0300
committerJens Axboe <axboe@kernel.dk>2021-06-18 18:22:02 +0300
commitb8e64b530011162adda0e176150774d22326c50c (patch)
tree4cc7a9996f02b4d102742b1467e4b278fa5cf881 /fs/io-wq.c
parentc10d1f986b4e2a906862148c77a97f186cc08b9e (diff)
downloadlinux-b8e64b530011162adda0e176150774d22326c50c.tar.xz
io_uring: track request creds with a flag
Currently, if req->creds is not NULL, then there are creds assigned. Track the invariant with a new flag in req->flags. No need to clear the field at init, and also cleanup can be efficiently moved into io_clean_op(). Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/5f8baeb8d3b909487f555542350e2eac97005556.1623949695.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io-wq.c')
0 files changed, 0 insertions, 0 deletions