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

From: Miquel Raynal
Date: Mon Dec 07 2020 - 06:16:52 EST


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@xxxxxxxxxxxxxxx
> Fixes: 46b5889cc2c5 ("mtd: implement proper partition handling")
> Signed-off-by: Richard Weinberger <richard@xxxxxx>

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

Miquel