]> git.baikalelectronics.ru Git - kernel.git/commit
loop: reduce loop_ctl_mutex coverage in loop_exit
authorChristoph Hellwig <hch@lst.de>
Wed, 23 Jun 2021 14:59:01 +0000 (16:59 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 30 Jun 2021 21:34:13 +0000 (15:34 -0600)
commitbd5c39edad535d9f6ccb99633930f9f7b768593c
treecf7a6b22f7d5031628858a47d5901e2b05da3454
parent8b52d8be86d723085784317427d339528766d9a3
loop: reduce loop_ctl_mutex coverage in loop_exit

loop_ctl_mutex is only needed to iterate the IDR for removing the loop
devices, so reduce the coverage.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Link: https://lore.kernel.org/r/20210623145908.92973-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/loop.c