projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
generic/3.10: remove unused defines from the rootfs split patch
[openwrt.git]
/
target
/
linux
/
generic
/
patches-3.6
/
441-block2mtd_refresh.patch
diff --git
a/target/linux/generic/patches-3.6/441-block2mtd_refresh.patch
b/target/linux/generic/patches-3.6/441-block2mtd_refresh.patch
index d54e52900e4e01343fed6e4565fa026f5624e225..7f8a1f1233585306a4034ee95410cc338b11eb6f 100644
(file)
--- a/
target/linux/generic/patches-3.6/441-block2mtd_refresh.patch
+++ b/
target/linux/generic/patches-3.6/441-block2mtd_refresh.patch
@@
-53,8
+53,9
@@
page = page_read(dev->blkdev->bd_inode->i_mapping, index);
- if (IS_ERR(page))
+- return PTR_ERR(page);
+ if (IS_ERR(page)) {
-
return
PTR_ERR(page);
+
+ err =
PTR_ERR(page);
+ goto done;
+ }