io_uring: flags-based creds init in queue
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 18 Oct 2020 09:17:37 +0000 (10:17 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 19 Oct 2020 19:29:29 +0000 (13:29 -0600)
commit2e5aa6cb4d159f1785eee50e4bcc7e9ffd4e4690
treeece4dfb017ba88a6ec6a24d8118d5e25b5570c2b
parent9ba0d0c81284f4ec0b24529bdba2fc68b9d6a09a
io_uring: flags-based creds init in queue

Use IO_WQ_WORK_CREDS to figure out if req has creds to be used.
Since recently it should rely only on flags, but not value of
work.creds.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c