[PATCH] mtd: mtdoops: Don't write panic data twice
Miquel Raynal
miquel.raynal at bootlin.com
Fri Sep 11 12:50:10 EDT 2020
On Thu, 2020-09-03 at 03:42:17 UTC, Mark Tomlinson wrote:
> If calling mtdoops_write, don't also schedule work to be done later.
>
> Although this appears to not be causing an issue, possibly because the
> scheduled work will never get done, it is confusing.
>
> Fixes: 016c1291ce70 ("mtd: mtdoops: do not use mtd->panic_write directly")
> Signed-off-by: Mark Tomlinson <mark.tomlinson at alliedtelesis.co.nz>
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