Re: [PATCH] mtd: block2mtd: Add a valid holder to blkdev_put()

From: Christoph Hellwig
Date: Mon Oct 23 2023 - 01:44:22 EST


On Sat, Oct 21, 2023 at 08:58:32PM +0200, Richard Weinberger wrote:
> Since commit 2736e8eeb0ccd ("block: use the holder as indication for exclusive opens")

Overly long line here.

> blkdev_put() requires a valid holder argument.
> So, do so also in block2mtd to unbreak bdev->bd_holder refcounting.


Otherwise looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>