Re: [PATCH 05/24] block: remove the update_bdev parameter from set_capacity_revalidate_and_notify

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

 



On 11/11/20 9:26 AM, Christoph Hellwig wrote:
The update_bdev argument is always set to true, so remove it.  Also
rename the function to the slighly less verbose set_capacity_and_notify,
as propagating the disk size to the block device isn't really
revalidation.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>
---
  block/genhd.c                | 13 +++++--------
  drivers/block/loop.c         | 11 +++++------
  drivers/block/virtio_blk.c   |  2 +-
  drivers/block/xen-blkfront.c |  2 +-
  drivers/nvme/host/core.c     |  2 +-
  drivers/scsi/sd.c            |  5 ++---
  include/linux/genhd.h        |  3 +--
  7 files changed, 16 insertions(+), 22 deletions(-)

Reviewed-by: Hannes Reinecke <hare@xxxxxxx>

Cheers,

Hannes
--
Dr. Hannes Reinecke                Kernel Storage Architect
hare@xxxxxxx                              +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer



[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