block/blk-iocost: Inline iocg_lock() and iocg_unlock()
authorBart Van Assche <bvanassche@acm.org>
Fri, 5 Jun 2026 18:01:03 +0000 (11:01 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 5 Jun 2026 19:41:11 +0000 (13:41 -0600)
commita255026594e9b7eea24c12d2bd4acae0c11eea94
tree2e5fd1cbbc2995a2a8c63e311c6d7aca328992d9
parent1ff85a387947890938c05cfe22041dfeef3098dd
block/blk-iocost: Inline iocg_lock() and iocg_unlock()

Both iocg_lock() and iocg_unlock() use conditional locking. Fold these
functions into their callers such that unlocking becomes unconditional.

Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://patch.msgid.link/f8c9867788957d2e40a32e23c6d9b866e480ad9d.1780682325.git.bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-iocost.c