block: remove the unused bd_private field from struct block_device
authorChristoph Hellwig <hch@lst.de>
Fri, 26 Jun 2020 08:01:57 +0000 (10:01 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 1 Jul 2020 14:08:23 +0000 (08:08 -0600)
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blk_types.h

index 667cd36..b5f7105 100644 (file)
@@ -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;