diff options
author | Christoph Hellwig <hch@lst.de> | 2020-11-24 11:37:14 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-12-02 00:53:40 +0300 |
commit | 41e5c81984eac8ce87f2b4f57fec0bd90a049b2b (patch) | |
tree | e3df22a54db95b1875e8680a9c77e131cddee383 /include/linux/genhd.h | |
parent | 8446fe9255be821cb38ffd306d7e8edc4b9ea662 (diff) | |
download | linux-41e5c81984eac8ce87f2b4f57fec0bd90a049b2b.tar.xz |
block: remove the partno field from struct hd_struct
Just use the bd_partno field in struct block_device everywhere.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/genhd.h')
-rw-r--r-- | include/linux/genhd.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/genhd.h b/include/linux/genhd.h index fe6fee77e2b9..3c13d4708e3f 100644 --- a/include/linux/genhd.h +++ b/include/linux/genhd.h @@ -54,7 +54,6 @@ struct partition_meta_info { struct hd_struct { struct block_device *bdev; struct device __dev; - int partno; }; /** |