aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rb532-2.6/patches/100-rb5xx_support.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-08 15:43:13 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-08 15:43:13 +0000
commitb81491fffe66809a395acdc093a4ad218cf4705b (patch)
treeee202c77db1e93f5a87abe83919ea438c5426fc9 /target/linux/rb532-2.6/patches/100-rb5xx_support.patch
parentd67ac40e672a2b0cc2713784182777417ad2a565 (diff)
downloadupstream-b81491fffe66809a395acdc093a4ad218cf4705b.tar.gz
upstream-b81491fffe66809a395acdc093a4ad218cf4705b.tar.bz2
upstream-b81491fffe66809a395acdc093a4ad218cf4705b.zip
add a fix for the block2mtd init
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4961 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rb532-2.6/patches/100-rb5xx_support.patch')
-rw-r--r--target/linux/rb532-2.6/patches/100-rb5xx_support.patch12
1 files changed, 0 insertions, 12 deletions
diff --git a/target/linux/rb532-2.6/patches/100-rb5xx_support.patch b/target/linux/rb532-2.6/patches/100-rb5xx_support.patch
index f3d114ef85..a8db82686a 100644
--- a/target/linux/rb532-2.6/patches/100-rb5xx_support.patch
+++ b/target/linux/rb532-2.6/patches/100-rb5xx_support.patch
@@ -1782,18 +1782,6 @@ diff -urN linux.old/drivers/mtd/devices/block2mtd.c linux.dev/drivers/mtd/device
/* Info for the block device */
struct block2mtd_dev {
struct list_head list;
-@@ -62,10 +61,8 @@
- read_lock_irq(&mapping->tree_lock);
- for (i = 0; i < PAGE_READAHEAD; i++) {
- pagei = index + i;
-- if (pagei > end_index) {
-- INFO("Overrun end of disk in cache readahead\n");
-+ if (pagei > end_index)
- break;
-- }
- page = radix_tree_lookup(&mapping->page_tree, pagei);
- if (page && (!i))
- break;
@@ -106,7 +103,7 @@
while (pages) {