[PATCH] mtd: maps: vmu-flash: Fix the (mtd core) switch to ref counters
Miquel Raynal
miquel.raynal at bootlin.com
Fri Dec 15 02:59:03 PST 2023
On Tue, 2023-12-05 at 07:59:36 UTC, Miquel Raynal wrote:
> While switching to ref counters for track mtd devices use, the vmu-flash
> driver was forgotten. The reason for reading the ref counter seems
> debatable, but let's just fix the build for now.
>
> Fixes: 19bfa9ebebb5 ("mtd: use refcount to prevent corruption")
> Reported-by: kernel test robot <lkp at intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202312022315.79twVRZw-lkp@intel.com/
> Cc: stable at vger.kernel.org
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next.
Miquel
More information about the linux-mtd
mailing list