[Linux-stable-mirror] [PATCH] mtd: nand: Fix writing mtdoops to nand flash