On Tue, Jun 6, 2023 at 9:40 AM Christoph Hellwig <hch@xxxxxx> 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@xxxxxx> > --- > 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@xxxxxxxxx> # for rnbd