Re: add a ->free_disk block_device_operation v3

Jens Axboe
2022-02-17T02:48:14Z

On Tue, 15 Feb 2022 10:45:09 +0100, Christoph Hellwig wrote:
> this series adds a ->free_disk method to struct block_device_operation so that
> drivers can defer freeing their disk private data until the gendisk goes away
> and don't need to play games with the validity of ->private_data.
>
> This also converts three simple drivers over as example, but eventually I
> imagine that all drivers with private data will use it.
>
> [...]

Applied, thanks!

[1/5] block: add a ->free_disk method
commit: 76792055c4c8b2472ca1ae48e0ddaf8497529f08
[2/5] memstick/ms_block: simplify refcounting
commit: e2efa0796607efe60c708271be483c3a2b0128de
[3/5] memstick/mspro_block: fix handling of read-only devices
commit: 6dab421bfe06a59bf8f212a72e34673e8acf2018
[4/5] memstick/mspro_block: simplify refcounting
commit: 185ed423d1898ead071c18f6161959cd3cab2dde
[5/5] virtio_blk: simplify refcounting
commit: 24b45e6c25173abcf8d5e82285212b47f2b0f86b

Best regards,
--
Jens Axboe