[PATCH 09/31] block: pass a gendisk to ->open
Jinpu Wang
jinpu.wang at ionos.com
Wed Jun 7 02:42:40 PDT 2023
On Tue, Jun 6, 2023 at 9:40 AM Christoph Hellwig <hch at lst.de> wrote:
>
> ->open is only called on the whole device. Make that explicit by
> passing a gendisk instead of the block_device.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---
> arch/um/drivers/ubd_kern.c | 5 ++---
> arch/xtensa/platforms/iss/simdisk.c | 4 ++--
> block/bdev.c | 2 +-
> drivers/block/amiflop.c | 8 ++++----
> drivers/block/aoe/aoeblk.c | 4 ++--
> drivers/block/ataflop.c | 16 +++++++--------
> drivers/block/drbd/drbd_main.c | 6 +++---
> drivers/block/floppy.c | 30 +++++++++++++++--------------
> drivers/block/nbd.c | 8 ++++----
> drivers/block/pktcdvd.c | 6 +++---
> drivers/block/rbd.c | 4 ++--
> drivers/block/rnbd/rnbd-clt.c | 4 ++--
Acked-by: Jack Wang <jinpu.wang at ionos.com> # for rnbd
More information about the linux-um
mailing list