[dm-devel] [PATCH 39/45] block: remove the partno field from struct hd_struct

2020-11-24 Thread Christoph Hellwig
Just use the bd_partno field in struct block_device everywhere. Signed-off-by: Christoph Hellwig --- block/genhd.c | 12 ++-- block/partitions/core.c | 9 - include/linux/genhd.h | 1 - init/do_mounts.c| 2 +- 4 files changed, 11 insertions(+), 13 deletions

[dm-devel] [PATCH 39/45] block: remove the partno field from struct hd_struct

2020-11-28 Thread Christoph Hellwig
Just use the bd_partno field in struct block_device everywhere. Signed-off-by: Christoph Hellwig Reviewed-by: Jan Kara --- block/genhd.c | 12 ++-- block/partitions/core.c | 9 - include/linux/genhd.h | 1 - init/do_mounts.c| 2 +- 4 files changed, 11 inse

Re: [dm-devel] [PATCH 39/45] block: remove the partno field from struct hd_struct

2020-11-29 Thread Hannes Reinecke
On 11/28/20 5:15 PM, Christoph Hellwig wrote: Just use the bd_partno field in struct block_device everywhere. Signed-off-by: Christoph Hellwig Reviewed-by: Jan Kara --- block/genhd.c | 12 ++-- block/partitions/core.c | 9 - include/linux/genhd.h | 1 - init/