summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-06-23 16:59:08 +0200
committerJens Axboe <axboe@kernel.dk>2021-06-30 23:34:13 +0200
commit8e60947d2f1ee675681a526da99fa587e63f78e3 (patch)
tree248933eea7525af9fec0f03499f612e2fed9a11b /block
parentloop: split loop_lookup (diff)
downloadlinux-8e60947d2f1ee675681a526da99fa587e63f78e3.tar.xz
linux-8e60947d2f1ee675681a526da99fa587e63f78e3.zip
loop: rewrite loop_exit using idr_for_each_entry
Use idr_for_each_entry to simplify removing all devices. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Link: https://lore.kernel.org/r/20210623145908.92973-10-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions