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
2017-11-17 14:18:00 -08:00
2017-11-17 14:18:00 -08:00
2023-05-24 08:42:16 -06:00
2023-04-29 10:58:44 -07:00
2023-05-24 08:42:16 -06:00
2021-04-05 09:04:20 -04:00
2023-03-06 09:57:12 +01:00
2022-10-20 10:13:27 +02:00
2023-03-06 09:57:12 +01:00
2023-05-24 08:42:16 -06:00
2015-04-23 15:16:14 -04:00
2023-04-29 10:58:44 -07:00
2022-05-09 16:36:48 -04:00
2022-12-16 03:54:54 -08:00
2022-11-27 22:10:00 -05:00