Thread (7 messages) read the whole thread 7 messages, 3 authors, 2021-08-12

Re: [PATCH 1/4] block: store a gendisk in struct parsed_partitions

From: Stefan Haberland <sth@linux.ibm.com>
Date: 2021-08-12 14:21:33
Also in: linux-efi, linux-s390

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>

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help