projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[package] base-files, ppp: fix interface shutdown
[openwrt.git]
/
target
/
linux
/
generic-2.6
/
patches-2.6.34
/
060-block2mtd_init.patch
diff --git
a/target/linux/generic-2.6/patches-2.6.34/060-block2mtd_init.patch
b/target/linux/generic-2.6/patches-2.6.34/060-block2mtd_init.patch
index
50df4aa
..
d2890c3
100644
(file)
--- a/
target/linux/generic-2.6/patches-2.6.34/060-block2mtd_init.patch
+++ b/
target/linux/generic-2.6/patches-2.6.34/060-block2mtd_init.patch
@@
-8,7
+8,7
@@
#include <linux/buffer_head.h>
#include <linux/mutex.h>
#include <linux/mount.h>
#include <linux/buffer_head.h>
#include <linux/mutex.h>
#include <linux/mount.h>
-@@ -23
2,10 +233
,11 @@ static void block2mtd_free_device(struct
+@@ -23
3,10 +234
,11 @@ static void block2mtd_free_device(struct
/* FIXME: ensure that mtd->size % erase_size == 0 */
/* FIXME: ensure that mtd->size % erase_size == 0 */
@@
-21,7
+21,7
@@
char *name;
if (!devname)
char *name;
if (!devname)
-@@ -27
3,17 +275
,17 @@ static struct block2mtd_dev *add_device(
+@@ -27
4,17 +276
,17 @@ static struct block2mtd_dev *add_device(
mutex_init(&dev->write_mutex);
mutex_init(&dev->write_mutex);
@@
-45,7
+45,7
@@
dev->mtd.erasesize = erase_size;
dev->mtd.writesize = 1;
dev->mtd.type = MTD_RAM;
dev->mtd.erasesize = erase_size;
dev->mtd.writesize = 1;
dev->mtd.type = MTD_RAM;
-@@ -29
6,14 +298
,17 @@ static struct block2mtd_dev *add_device(
+@@ -29
7,14 +299
,17 @@ static struct block2mtd_dev *add_device(
dev->mtd.priv = dev;
dev->mtd.owner = THIS_MODULE;
dev->mtd.priv = dev;
dev->mtd.owner = THIS_MODULE;
@@
-66,7
+66,7
@@
return dev;
devinit_err:
return dev;
devinit_err:
-@@ -37
6,9 +381
,9 @@ static char block2mtd_paramline[80 + 12]
+@@ -37
7,9 +382
,9 @@ static char block2mtd_paramline[80 + 12]
static int block2mtd_setup2(const char *val)
{
static int block2mtd_setup2(const char *val)
{
@@
-78,7
+78,7
@@
char *name;
size_t erase_size = PAGE_SIZE;
int i, ret;
char *name;
size_t erase_size = PAGE_SIZE;
int i, ret;
-@@ -3
89,7 +394
,7 @@ static int block2mtd_setup2(const char *
+@@ -3
90,7 +395
,7 @@ static int block2mtd_setup2(const char *
strcpy(str, val);
kill_final_newline(str);
strcpy(str, val);
kill_final_newline(str);
@@
-87,7
+87,7
@@
token[i] = strsep(&str, ",");
if (str)
token[i] = strsep(&str, ",");
if (str)
-@@ -40
8,8 +413
,10 @@ static int block2mtd_setup2(const char *
+@@ -40
9,8 +414
,10 @@ static int block2mtd_setup2(const char *
parse_err("illegal erase size");
}
}
parse_err("illegal erase size");
}
}
@@
-99,7
+99,7
@@
return 0;
}
return 0;
}
-@@ -44
3,7 +450
,7 @@ static int block2mtd_setup(const char *v
+@@ -44
4,7 +451
,7 @@ static int block2mtd_setup(const char *v
module_param_call(block2mtd, block2mtd_setup, NULL, NULL, 0200);
module_param_call(block2mtd, block2mtd_setup, NULL, NULL, 0200);
@@
-108,3
+108,13
@@
static int __init block2mtd_init(void)
{
static int __init block2mtd_init(void)
{
+--- a/fs/partitions/check.c
++++ b/fs/partitions/check.c
+@@ -639,6 +639,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)
+ {
This page took
0.091873 seconds
and
4
git commands to generate.