Changeset 4961


Ignore:
Timestamp:
2006-10-08T17:43:13+02:00 (10 years ago)
Author:
nbd
Message:

add a fix for the block2mtd init

Location:
branches/buildroot-ng/openwrt/target/linux
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/buildroot-ng/openwrt/target/linux/rb532-2.6/patches/100-rb5xx_support.patch

    r4320 r4961  
    17831783 struct block2mtd_dev { 
    17841784        struct list_head list; 
    1785 @@ -62,10 +61,8 @@ 
    1786         read_lock_irq(&mapping->tree_lock); 
    1787         for (i = 0; i < PAGE_READAHEAD; i++) { 
    1788                 pagei = index + i; 
    1789 -               if (pagei > end_index) { 
    1790 -                       INFO("Overrun end of disk in cache readahead\n"); 
    1791 +               if (pagei > end_index) 
    1792                         break; 
    1793 -               } 
    1794                 page = radix_tree_lookup(&mapping->page_tree, pagei); 
    1795                 if (page && (!i)) 
    1796                         break; 
    17971785@@ -106,7 +103,7 @@ 
    17981786  
Note: See TracChangeset for help on using the changeset viewer.