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

Jinpu Wang
2023-06-07T09:41:31Z

On Tue, Jun 6, 2023 at 9:40 AM Christoph Hellwig <hch@lst.de> wrote:
>
> The mode argument to the ->release block_device_operation is never used,
> so remove it.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
> 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 +-
Acked-by: Jack Wang <jinpu.wang@ionos.com> # for rnbd