Re: [dm-devel] [PATCH 40/45] block: pass a block_device to blk_alloc_devt

2020-11-29 Thread Hannes Reinecke
On 11/28/20 5:15 PM, Christoph Hellwig wrote: Pass the block_device actually needed instead of the hd_struct. Signed-off-by: Christoph Hellwig Reviewed-by: Jan Kara --- block/blk.h | 2 +- block/genhd.c | 14 +++--- block/partitions/core.c | 2 +- 3 files

[dm-devel] [PATCH 40/45] block: pass a block_device to blk_alloc_devt

2020-11-28 Thread Christoph Hellwig
Pass the block_device actually needed instead of the hd_struct. Signed-off-by: Christoph Hellwig Reviewed-by: Jan Kara --- block/blk.h | 2 +- block/genhd.c | 14 +++--- block/partitions/core.c | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git

[dm-devel] [PATCH 40/45] block: pass a block_device to blk_alloc_devt

2020-11-24 Thread Christoph Hellwig
Pass the block_device actually needed instead of the hd_struct. Signed-off-by: Christoph Hellwig --- block/blk.h | 2 +- block/genhd.c | 14 +++--- block/partitions/core.c | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/block/blk.h