[kernel] update to 2.6.28.2
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.21 / 211-no_block2mtd_readahead.patch
1 Index: linux-2.6.21.7/drivers/mtd/devices/block2mtd.c
2 ===================================================================
3 --- linux-2.6.21.7.orig/drivers/mtd/devices/block2mtd.c
4 +++ linux-2.6.21.7/drivers/mtd/devices/block2mtd.c
5 @@ -41,7 +41,7 @@ struct block2mtd_dev {
6 static LIST_HEAD(blkmtd_device_list);
7
8
9 -#define PAGE_READAHEAD 64
10 +#define PAGE_READAHEAD 0
11 static void cache_readahead(struct address_space *mapping, int index)
12 {
13 filler_t *filler = (filler_t*)mapping->a_ops->readpage;
This page took 0.049507 seconds and 5 git commands to generate.