io_uring: refactor provide/remove buffer locking
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 28 Feb 2021 22:35:13 +0000 (22:35 +0000)
committerJens Axboe <axboe@kernel.dk>
Sun, 4 Apr 2021 21:27:17 +0000 (15:27 -0600)
commit57bbd288b738281c5f4e322eb78f6b5b19f7f669
treed42e08528a1163a75515c84e5482fcdfadaf54cb
parent1fc82815dc9ae9b95b6a2d1441fc6ac30b2014c7
io_uring: refactor provide/remove buffer locking

Always complete request holding the mutex instead of doing that strange
dancing with conditional ordering.

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