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>
Thu, 10 Mar 2022 13:32:49 +0000 (06:32 -0700)
commite13fb1fe1483f6cd6452f25b866ffadf5ee0eff6
tree5222b2a47c1c29d1be37f95716ae67e877b0b8dc
parent42abc95f05bff5180ac40c7ba5726b73c1d5e2f4
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