io-wq: refactor *_get_acct()
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 22 Mar 2021 01:58:28 +0000 (01:58 +0000)
committerJens Axboe <axboe@kernel.dk>
Sun, 4 Apr 2021 21:27:24 +0000 (15:27 -0600)
commit7ec360e58ef5db41454699839f94ad35c0041012
tree14d18a843591fe32aff93c35692e65006af99001
parent1fcce943957d46ab481b64817f5ecaff5a86878f
io-wq: refactor *_get_acct()

Extract a helper for io_work_get_acct() and io_wqe_get_acct() to avoid
duplication.

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