[PATCH 8/8] mtd_blkdevs: simplify the refcounting in blktrans_{open, release}

Miquel Raynal miquel.raynal at bootlin.com
Mon Aug 23 01:33:14 PDT 2021


On Mon, 2021-08-23 at 07:33:59 UTC, Christoph Hellwig wrote:
> Always grab a reference to the mtd_blktrans_dev in ->open instead of
> just on the first open, and do away with the additional temporary
> references in ->open and ->release.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.

Miquel



More information about the linux-mtd mailing list