diff options
| author | Christoph Hellwig <[email protected]> | 2020-11-24 09:37:14 +0100 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-12-01 14:53:40 -0700 |
| commit | 41e5c81984eac8ce87f2b4f57fec0bd90a049b2b (patch) | |
| tree | e3df22a54db95b1875e8680a9c77e131cddee383 /include/linux | |
| parent | 8446fe9255be821cb38ffd306d7e8edc4b9ea662 (diff) | |
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 <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux')
| -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; }; /** |