diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-03-14 16:21:33 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-03-14 16:21:33 +0000 |
commit | 8cf55514b1a9f8b082f9d7b7b0d6756987ae5879 (patch) | |
tree | 8f17b082582561dd10e6f580b083b0ed205a71e6 /target/linux/generic-2.6/patches-2.6.33/060-block2mtd_init.patch | |
parent | 26b6c87a9aa7c899342099f67ab391dedd535836 (diff) | |
download | master-187ad058-8cf55514b1a9f8b082f9d7b7b0d6756987ae5879.tar.gz master-187ad058-8cf55514b1a9f8b082f9d7b7b0d6756987ae5879.tar.bz2 master-187ad058-8cf55514b1a9f8b082f9d7b7b0d6756987ae5879.zip |
[kernel] export rescan_partitions to prevent linking failures in block2mtd (#6741)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20205 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.33/060-block2mtd_init.patch')
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.33/060-block2mtd_init.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.33/060-block2mtd_init.patch b/target/linux/generic-2.6/patches-2.6.33/060-block2mtd_init.patch index 50df4aae0f..4adad9a02e 100644 --- a/target/linux/generic-2.6/patches-2.6.33/060-block2mtd_init.patch +++ b/target/linux/generic-2.6/patches-2.6.33/060-block2mtd_init.patch @@ -108,3 +108,21 @@ static int __init block2mtd_init(void) { +diff --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 +index 50df4aa..3a47c85 100644 +--- 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 +@@ -108,3 +108,13 @@ + + static int __init block2mtd_init(void) + { +--- a/fs/partitions/check.c ++++ b/fs/partitions/check.c +@@ -625,6 +625,7 @@ try_scan: + kfree(state); + return 0; + } ++EXPORT_SYMBOL(rescan_partitions); + + unsigned char *read_dev_sector(struct block_device *bdev, sector_t n, Sector *p) + { |