OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 47... | Line 47... | |||
47 | if (magic != UBI_EC_HDR_MAGIC) { |
47 | if (magic != UBI_EC_HDR_MAGIC) { |
|
48 | if (mtd_is_eccerr(read_err)) |
48 | if (mtd_is_eccerr(read_err)) |
|
49 | return UBI_IO_BAD_HDR_EBADMSG; |
49 | return UBI_IO_BAD_HDR_EBADMSG; |
|
50 | --- a/drivers/mtd/ubi/ubi.h |
50 | --- a/drivers/mtd/ubi/ubi.h |
|
51 | +++ b/drivers/mtd/ubi/ubi.h |
51 | +++ b/drivers/mtd/ubi/ubi.h |
|
52 | @@ -829,6 +829,7 @@ extern struct mutex ubi_devices_mutex; |
52 | @@ -822,6 +822,7 @@ extern struct mutex ubi_devices_mutex; |
|
53 | extern struct blocking_notifier_head ubi_notifiers; |
53 | extern struct blocking_notifier_head ubi_notifiers; |
|
Line 54... | Line 54... | |||
54 | |
54 | |
|
55 | /* attach.c */ |
55 | /* attach.c */ |
|
56 | +extern bool erase_all_next; |
56 | +extern bool erase_all_next; |