]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: remove extra io_wq_current_is_worker()
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 30 Dec 2019 18:24:47 +0000 (21:24 +0300)
committerJens Axboe <axboe@kernel.dk>
Tue, 21 Jan 2020 00:04:04 +0000 (17:04 -0700)
commitbdecd516883b8b1ccb5bfb9d19498bc50ccfb29f
tree8f770b78c8056f72656bf2dd18d7843bdb6ae69d
parent014857d7dc43d8790b0ea8a4d51c847ef894796b
io_uring: remove extra io_wq_current_is_worker()

io_wq workers use io_issue_sqe() to forward sqes and never
io_queue_sqe(). Remove extra check for io_wq_current_is_worker()

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