Re: [PATCH 10/31] block: remove the unused mode argument to ->release

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

 



On 6/6/23 09:39, Christoph Hellwig wrote:
The mode argument to the ->release block_device_operation is never used,
so remove it.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>
---
  arch/um/drivers/ubd_kern.c          |  4 ++--
  arch/xtensa/platforms/iss/simdisk.c |  2 +-
  block/bdev.c                        | 14 +++++++-------
  drivers/block/amiflop.c             |  2 +-
  drivers/block/aoe/aoeblk.c          |  2 +-
  drivers/block/ataflop.c             |  4 ++--
  drivers/block/drbd/drbd_main.c      |  4 ++--
  drivers/block/floppy.c              |  2 +-
  drivers/block/loop.c                |  2 +-
  drivers/block/nbd.c                 |  2 +-
  drivers/block/pktcdvd.c             |  4 ++--
  drivers/block/rbd.c                 |  2 +-
  drivers/block/rnbd/rnbd-clt.c       |  2 +-
  drivers/block/swim.c                |  2 +-
  drivers/block/swim3.c               |  3 +--
  drivers/block/z2ram.c               |  2 +-
  drivers/cdrom/gdrom.c               |  2 +-
  drivers/md/bcache/super.c           |  2 +-
  drivers/md/dm.c                     |  2 +-
  drivers/md/md.c                     |  2 +-
  drivers/mmc/core/block.c            |  2 +-
  drivers/mtd/mtd_blkdevs.c           |  2 +-
  drivers/mtd/ubi/block.c             |  2 +-
  drivers/nvme/host/core.c            |  2 +-
  drivers/nvme/host/multipath.c       |  2 +-
  drivers/s390/block/dasd.c           |  2 +-
  drivers/s390/block/dcssblk.c        |  4 ++--
  drivers/scsi/sd.c                   |  3 +--
  drivers/scsi/sr.c                   |  2 +-
  include/linux/blkdev.h              |  2 +-
  30 files changed, 41 insertions(+), 43 deletions(-)

Reviewed-by: Hannes Reinecke <hare@xxxxxxx>

Cheers,

Hannes




[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