Am 10.08.21 um 17:45 schrieb Christoph Hellwig:
Partition scanning only happens on the whole device, so pass a
struct gendisk instead of the whole device block_device to the scanners.
This allows to simplify printing the device name in various places as the
disk name is available in disk->name.
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
block/partitions/acorn.c | 4 ++--
block/partitions/aix.c | 20 ++------------------
block/partitions/amiga.c | 7 +++----
block/partitions/atari.c | 4 ++--
block/partitions/check.h | 2 +-
block/partitions/cmdline.c | 6 ++----
block/partitions/core.c | 6 +++---
block/partitions/efi.c | 36 +++++++++++++++++-------------------
block/partitions/ibm.c | 4 ++--
for the DASD part:
Looks good.
Reviewed-by: Stefan Haberland <sth@linux.ibm.com>