generic/4.0: fix ubi EOF marker patch

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44881
master
Imre Kaloz 10 years ago
parent 0d8d48641d
commit 05bf6e0f2e
  1. 2
      target/linux/generic/patches-4.0/494-mtd-ubi-add-EOF-marker-support.patch

@ -27,7 +27,7 @@
+ return err; + return err;
+ +
+ if (ec_hdr_has_eof(ech)) { + if (ec_hdr_has_eof(ech)) {
+ ubi_msg("EOF marker found, PEBs from %d will be erased", + pr_notice("UBI: EOF marker found, PEBs from %d will be erased",
+ pnum); + pnum);
+ ai->eof_found = true; + ai->eof_found = true;
+ } + }

Loading…
Cancel
Save