Re: [dm-devel] [PATCH 42/45] block: switch disk_part_iter_* to use a struct block_device

2020-11-30 Thread Jan Kara
On Sat 28-11-20 17:15:07, Christoph Hellwig wrote: > Switch the partition iter infrastructure to iterate over block_device > references instead of hd_struct ones mostly used to get at the > block_device. > > Signed-off-by: Christoph Hellwig Looks good to me. Feel free to add: Reviewed-by: Jan

Re: [dm-devel] [PATCH 42/45] block: switch disk_part_iter_* to use a struct block_device

2020-11-29 Thread Hannes Reinecke
On 11/28/20 5:15 PM, Christoph Hellwig wrote: Switch the partition iter infrastructure to iterate over block_device references instead of hd_struct ones mostly used to get at the block_device. Signed-off-by: Christoph Hellwig --- block/genhd.c | 59

[dm-devel] [PATCH 42/45] block: switch disk_part_iter_* to use a struct block_device

2020-11-28 Thread Christoph Hellwig
Switch the partition iter infrastructure to iterate over block_device references instead of hd_struct ones mostly used to get at the block_device. Signed-off-by: Christoph Hellwig --- block/genhd.c | 59 --- block/partitions/core.c | 13

[dm-devel] [PATCH 42/45] block: switch disk_part_iter_* to use a struct block_device

2020-11-24 Thread Christoph Hellwig
Switch the partition iter infrastructure to iterate over block_device references instead of hd_struct ones mostly used to get at the block_device. Signed-off-by: Christoph Hellwig --- block/genhd.c | 57 +++ block/partitions/core.c | 13