[PATCH 07/31] block: pass a gendisk on bdev_check_media_change

Christian Brauner brauner at kernel.org
Wed Jun 7 01:25:14 PDT 2023


On Tue, Jun 06, 2023 at 09:39:26AM +0200, Christoph Hellwig wrote:
> bdev_check_media_change should only ever be called for the whole device.
> Pass a gendisk to make that explicit and rename the function to
> disk_check_media_change.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---

Under the assumption it did only in fact ever only get called on the
whole device so far,
Acked-by: Christian Brauner <brauner at kernel.org>



More information about the Linux-nvme mailing list