io-wq: reduce acct->lock crossing functions lock/unlock
authorHao Xu <haoxu@linux.alibaba.com>
Sun, 6 Feb 2022 09:52:40 +0000 (17:52 +0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 11 Feb 2022 16:40:43 +0000 (09:40 -0700)
commit46fa4e4066ec3445edab7332367b6ceb34a717e1
tree11f7db4666acee948fcffacda79f17969a5c438c
parent785d7c2aaac454a6c36028e424f18405c999acac
io-wq: reduce acct->lock crossing functions lock/unlock

reduce acct->lock lock and unlock in different functions to make the
code clearer.

Signed-off-by: Hao Xu <haoxu@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220206095241.121485-3-haoxu@linux.alibaba.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io-wq.c