summaryrefslogtreecommitdiff
path: root/io_uring/io_uring.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2023-04-13 17:28:07 +0300
committerJens Axboe <axboe@kernel.dk>2023-04-15 23:44:57 +0300
commiteef81fcaa61e1bc6b7735be65f41bbf1a8efd133 (patch)
tree131fdd88b8c001b590dc799ebee9d99819ab69ff /io_uring/io_uring.c
parentc732ea242d565c8281c4b017929fc62a246d81b9 (diff)
downloadlinux-eef81fcaa61e1bc6b7735be65f41bbf1a8efd133.tar.xz
io_uring/rsrc: refactor io_rsrc_ref_quiesce
Refactor io_rsrc_ref_quiesce() by moving the first mutex_unlock(), so we don't have to have a second mutex_unlock() further in the loop. It prepares us to the next patch. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/65bc876271fb16bf550a53a4c76c91aacd94e52e.1681395792.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/io_uring.c')
0 files changed, 0 insertions, 0 deletions