Ignore:
Timestamp:
2010-03-14T17:21:33+01:00 (7 years ago)
Author:
florian
Message:

[kernel] export rescan_partitions to prevent linking failures in block2mtd (#6741)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic-2.6/patches-2.6.34/060-block2mtd_init.patch

    r20140 r20205  
    109109 static int __init block2mtd_init(void) 
    110110 { 
     111diff --git a/target/linux/generic-2.6/patches-2.6.32/060-block2mtd_init.patch b/target/linux/generic-2.6/patches-2.6.32/060-block2mtd_init.patch 
     112index 50df4aa..3a47c85 100644 
     113--- a/target/linux/generic-2.6/patches-2.6.32/060-block2mtd_init.patch 
     114+++ b/target/linux/generic-2.6/patches-2.6.32/060-block2mtd_init.patch 
     115@@ -108,3 +108,13 @@ 
     116   
     117  static int __init block2mtd_init(void) 
     118  { 
     119--- a/fs/partitions/check.c 
     120+++ b/fs/partitions/check.c 
     121@@ -625,6 +625,7 @@ try_scan: 
     122        kfree(state); 
     123        return 0; 
     124 } 
     125+EXPORT_SYMBOL(rescan_partitions); 
     126  
     127 unsigned char *read_dev_sector(struct block_device *bdev, sector_t n, Sector *p) 
     128 { 
Note: See TracChangeset for help on using the changeset viewer.