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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx>
> ---
>  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@xxxxxxxxxxxxx>





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux