]> www.infradead.org Git - nvme.git/commit
blk_iocost: remove some duplicate irq disable/enables
authorDan Carpenter <dan.carpenter@linaro.org>
Wed, 2 Oct 2024 10:47:21 +0000 (13:47 +0300)
committerJens Axboe <axboe@kernel.dk>
Wed, 2 Oct 2024 13:15:43 +0000 (07:15 -0600)
commit14d57ec3b86369d0037567f12caae0c9e9eaad9e
treeb86d3ece1a78bf8ef849f316f0574560d0fa8efe
parent0ab42843003f27db509e42f2060bb3fa6ffad38d
blk_iocost: remove some duplicate irq disable/enables

These are called from blkcg_print_blkgs() which already disables IRQs so
disabling it again is wrong.  It means that IRQs will be enabled slightly
earlier than intended, however, so far as I can see, this bug is harmless.

Fixes: 35198e323001 ("blk-iocost: read params inside lock in sysfs apis")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/Zv0kudA9xyGdaA4g@stanley.mountain
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-iocost.c