aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blk_types.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-08-09 16:17:44 +0200
committerJens Axboe <axboe@kernel.dk>2021-08-09 11:53:26 -0600
commita11d7fc2d05fb509cd9e33d4093507d6eda3ad53 (patch)
treee085f4f2ab5aaac4c0bd5a977bb245642026a746 /include/linux/blk_types.h
parentblock: move the bdi from the request_queue to the gendisk (diff)
downloadlinux-dev-a11d7fc2d05fb509cd9e33d4093507d6eda3ad53.tar.xz
linux-dev-a11d7fc2d05fb509cd9e33d4093507d6eda3ad53.zip
block: remove the bd_bdi in struct block_device
Just retrieve the bdi from the disk. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Link: https://lore.kernel.org/r/20210809141744.1203023-6-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 e92735655684..1335efa8a1db 100644
--- a/include/linux/blk_types.h
+++ b/include/linux/blk_types.h
@@ -38,7 +38,6 @@ struct block_device {
u8 bd_partno;
spinlock_t bd_size_lock; /* for bd_inode->i_size updates */
struct gendisk * bd_disk;
- struct backing_dev_info *bd_bdi;
/* The counter of freeze processes */
int bd_fsfreeze_count;