mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-29 06:19:54 +02:00
[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
This commit is contained in:
parent
e861730fef
commit
cbc1514dc5
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user