Christoph Hellwig d32e2bf837 block: pass a gendisk to ->open
->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@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Acked-by: Christian Brauner <brauner@kernel.org>
Acked-by: Jack Wang <jinpu.wang@ionos.com>		[rnbd]
Link: https://lore.kernel.org/r/20230608110258.189493-9-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-06-12 08:04:04 -06:00
..
2023-04-26 16:07:23 -07:00
2023-04-27 11:53:57 -07:00
2023-04-27 16:36:55 -07:00
2023-04-27 11:53:57 -07:00
2023-04-26 15:39:25 -07:00
2023-04-26 15:39:25 -07:00
2023-04-26 15:39:25 -07:00
2023-04-18 23:01:23 -04:00
2023-04-26 15:39:25 -07:00
2023-04-18 23:01:23 -04:00
2022-06-27 22:56:21 -04:00
2023-04-27 11:53:57 -07:00
2022-02-22 21:11:02 -05:00
2022-05-08 14:28:18 -04:00
2023-06-12 08:04:04 -06:00
2023-04-27 11:53:57 -07:00
2021-12-22 23:41:13 -05:00
2023-06-12 08:04:04 -06:00
2022-10-07 12:33:18 -07:00