[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20231027174707.369918-1-miquel.raynal@bootlin.com>
Date: Fri, 27 Oct 2023 19:47:07 +0200
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Richard Weinberger <richard@....at>, linux-mtd@...ts.infradead.org
Cc: Miquel Raynal <miquel.raynal@...tlin.com>,
linux-kernel@...r.kernel.org, vigneshr@...com,
joern@...ybastard.org, Christoph Hellwig <hch@....de>,
stable@...r.kernel.org
Subject: Re: [PATCH] mtd: block2mtd: Add a valid holder to blkdev_put()
On Sat, 2023-10-21 at 18:58:32 UTC, Richard Weinberger wrote:
> Since commit 2736e8eeb0ccd ("block: use the holder as indication for exclusive opens")
> blkdev_put() requires a valid holder argument.
> So, do so also in block2mtd to unbreak bdev->bd_holder refcounting.
>
> Cc: Christoph Hellwig <hch@....de>
> Cc: stable@...r.kernel.org
> Fixes: 2736e8eeb0ccd ("block: use the holder as indication for exclusive opens")
> Signed-off-by: Richard Weinberger <richard@....at>
> Reviewed-by: Christoph Hellwig <hch@....de>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.
Miquel
Powered by blists - more mailing lists