Re: [PATCH 16/20] block: stop using bdget_disk for partition 0

2020-11-19 Thread Jan Kara
On Wed 18-11-20 09:47:56, Christoph Hellwig wrote: > We can just dereference the point in struct gendisk instead. Also > remove the now unused export. > > Signed-off-by: Christoph Hellwig Looks good to me. You can add: Reviewed-by: Jan Kara

[PATCH 16/20] block: stop using bdget_disk for partition 0

2020-11-18 Thread Christoph Hellwig
We can just dereference the point in struct gendisk instead. Also remove the now unused export. Signed-off-by: Christoph Hellwig --- block/genhd.c | 1 - drivers/block/nbd.c | 4 +--- drivers/block/xen-blkfront.c| 20 +--- drivers/block/zram/z