[PATCH] mtd: core: Fix refcounting for unpartitioned MTDs

Miquel Raynal miquel.raynal at bootlin.com
Mon Dec 7 06:15:51 EST 2020


On Sun, 2020-12-06 at 20:22:20 UTC, Richard Weinberger wrote:
> Apply changes to usecount also the the master partition.
> Otherwise we have no refcounting at all if an MTD has no partitions.
> 
> Cc: stable at vger.kernel.org
> Fixes: 46b5889cc2c5 ("mtd: implement proper partition handling")
> Signed-off-by: Richard Weinberger <richard at nod.at>

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