X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/5f33b429e2ec7a5aa0f78cb1d96e22778c6ea5c3..f024fd0c2ae5e7499c6c0473a0b1aa9490611380:/target/linux/generic-2.6/patches-2.6.32/060-block2mtd_init.patch 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 50df4aae0..3a47c85bb 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) + {