diff mbox series

[6/7] block: remove the unused bd_private field from struct block_device

Message ID 20200626080158.1998621-7-hch@lst.de (mailing list archive)
State New, archived
Headers show
Series [1/7] floppy: use block_size | expand

Commit Message

Christoph Hellwig June 26, 2020, 8:01 a.m. UTC
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 include/linux/blk_types.h | 7 -------
 1 file changed, 7 deletions(-)

Comments

Johannes Thumshirn July 1, 2020, 7:31 a.m. UTC | #1
Looks good,
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
diff mbox series

Patch

diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h
index 667cd365fd048b..b5f7105806e492 100644
--- a/include/linux/blk_types.h
+++ b/include/linux/blk_types.h
@@ -41,13 +41,6 @@  struct block_device {
 	struct gendisk *	bd_disk;
 	struct backing_dev_info *bd_bdi;
 	struct list_head	bd_list;
-	/*
-	 * Private data.  You must have bd_claim'ed the block_device
-	 * to use this.  NOTE:  bd_claim allows an owner to claim
-	 * the same device multiple times, the owner must take special
-	 * care to not mess up bd_private for that case.
-	 */
-	unsigned long		bd_private;
 
 	/* The counter of freeze processes */
 	int			bd_fsfreeze_count;