block: remove the all_bdevs list
authorChristoph Hellwig <hch@lst.de>
Fri, 26 Jun 2020 08:01:58 +0000 (10:01 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 1 Jul 2020 14:08:25 +0000 (08:08 -0600)
commit1008fe6dc36dd87dfd02d4307f49162f0b4f1665
tree42809db0dc02f5b355b836f7a32ba06e7d5783eb
parent47b5e00322a3033851ab304f3c3873aebdfb4979
block: remove the all_bdevs list

Instead just iterate over the inodes for the block device superblock.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/block_dev.c
include/linux/blk_types.h