aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blk_types.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-06-26 10:01:58 +0200
committerJens Axboe <axboe@kernel.dk>2020-07-01 08:08:25 -0600
commit1008fe6dc36dd87dfd02d4307f49162f0b4f1665 (patch)
tree42809db0dc02f5b355b836f7a32ba06e7d5783eb /include/linux/blk_types.h
parentblock: remove the unused bd_private field from struct block_device (diff)
downloadlinux-dev-1008fe6dc36dd87dfd02d4307f49162f0b4f1665.tar.xz
linux-dev-1008fe6dc36dd87dfd02d4307f49162f0b4f1665.zip
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>
Diffstat (limited to 'include/linux/blk_types.h')
-rw-r--r--include/linux/blk_types.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h
index b5f7105806e4..07facaf62b72 100644
--- a/include/linux/blk_types.h
+++ b/include/linux/blk_types.h
@@ -40,7 +40,6 @@ struct block_device {
int bd_invalidated;
struct gendisk * bd_disk;
struct backing_dev_info *bd_bdi;
- struct list_head bd_list;
/* The counter of freeze processes */
int bd_fsfreeze_count;