[PATCH] mtd: block2mtd: Add a valid holder to blkdev_put()
Christoph Hellwig
hch at lst.de
Sun Oct 22 22:44:13 PDT 2023
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 at lst.de>
More information about the linux-mtd
mailing list