[PATCH] mtd: Do not write empty pages, UBI fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a patch for everybody flashing UBI images to nand devices.
Since some time we no longer skip empty pages during writes which
leads to CRC errors once an UBIFS is mounted r/w on a nand device.

Sascha

----------------------------------------------------------------
Sascha Hauer (2):
      mtd: nand: do not write empty pages
      libubi: Use global mtd_all_ff function

 drivers/mtd/core.c            |   32 ++++++++++++++++++++++++++++++++
 drivers/mtd/nand/nand_write.c |   10 ++++++----
 include/linux/mtd/mtd.h       |    2 ++
 lib/libscan.c                 |   13 +------------
 4 files changed, 41 insertions(+), 16 deletions(-)

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux