]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd59cc59bdc449dfee50fc225283ada38fb6eff4f
tree42809db0dc02f5b355b836f7a32ba06e7d5783eb
parent3a57a1b5ab7b9d6a4284512f355795caf917a04d
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