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>
This commit is contained in:
parent
8446fe9255
commit
41e5c81984
4 changed files with 11 additions and 13 deletions
|
|
@ -54,7 +54,6 @@ struct partition_meta_info {
|
|||
struct hd_struct {
|
||||
struct block_device *bdev;
|
||||
struct device __dev;
|
||||
int partno;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue