OSDN Git Service

io_uring: code clean for completion_lock in io_arm_poll_handler()
authorHao Xu <haoxu@linux.alibaba.com>
Thu, 12 Aug 2021 07:47:02 +0000 (15:47 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 23 Aug 2021 19:10:37 +0000 (13:10 -0600)
commit41a5169c23ebe85fdd0b64a0b6381f486a34ef3c
treed409ac044cf7d442dcba93af5560741b80e1559a
parentf552a27afe67f05c47bb0c33b92af2a23b684c31
io_uring: code clean for completion_lock in io_arm_poll_handler()

We can merge two spin_unlock() operations to one since we removed some
code not long ago.

Signed-off-by: Hao Xu <haoxu@linux.alibaba.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c