Christoph Hellwig 0718afd47f block: introduce holder ops
Add a new blk_holder_ops structure, which is passed to blkdev_get_by_* and
installed in the block_device for exclusive claims.  It will be used to
allow the block layer to call back into the user of the block device for
thing like notification of a removed device or a device resize.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Acked-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Link: https://lore.kernel.org/r/20230601094459.1350643-10-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-06-05 10:53:04 -06:00
..
2023-06-05 10:53:04 -06:00
2023-01-19 09:24:28 +01:00
2023-01-19 09:24:27 +01:00
2022-05-09 16:21:46 -04:00
2023-04-24 19:28:49 -07:00
2022-08-17 17:25:04 -04:00
2022-07-29 18:12:36 -07:00
2023-04-21 14:54:34 -07:00
2018-12-28 12:11:45 -08:00
2022-05-09 16:21:46 -04:00
2023-04-24 13:35:23 -07:00