aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.3/504-yaffs-3.2_fix.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-10-30 21:16:24 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-10-30 21:16:24 +0000
commitb888c2deabefc1b23c01bcc57bfef0a64bfd87be (patch)
treeba613d8975bf1dee981fa26f88136198452236fa /target/linux/generic/patches-3.3/504-yaffs-3.2_fix.patch
parentd54782d01aa19db3388acc37a31b1741ad4e1611 (diff)
downloadupstream-b888c2deabefc1b23c01bcc57bfef0a64bfd87be.tar.gz
upstream-b888c2deabefc1b23c01bcc57bfef0a64bfd87be.tar.bz2
upstream-b888c2deabefc1b23c01bcc57bfef0a64bfd87be.zip
generic: replace yaffs mutex_fix patch
Use a backported patch instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34021
Diffstat (limited to 'target/linux/generic/patches-3.3/504-yaffs-3.2_fix.patch')
-rw-r--r--target/linux/generic/patches-3.3/504-yaffs-3.2_fix.patch11
1 files changed, 1 insertions, 10 deletions
diff --git a/target/linux/generic/patches-3.3/504-yaffs-3.2_fix.patch b/target/linux/generic/patches-3.3/504-yaffs-3.2_fix.patch
index f84332ab29..4b1a71e5b2 100644
--- a/target/linux/generic/patches-3.3/504-yaffs-3.2_fix.patch
+++ b/target/linux/generic/patches-3.3/504-yaffs-3.2_fix.patch
@@ -204,15 +204,6 @@
}
static struct file_system_type yaffs2_fs_type = {
-@@ -3223,7 +3250,7 @@ static int yaffs_proc_read(char *page,
- buf += sprintf(buf,"\n");
- else {
- step-=2;
--
-+
- down(&yaffs_context_lock);
-
- /* Locate and print the Nth entry. Order N-squared but N is small. */
@@ -3240,7 +3267,7 @@ static int yaffs_proc_read(char *page,
buf = yaffs_dump_dev_part0(buf, dev);
} else
@@ -221,7 +212,7 @@
+
break;
}
- up(&yaffs_context_lock);
+ mutex_unlock(&yaffs_context_lock);
@@ -3267,7 +3294,7 @@ static int yaffs_stats_proc_read(char *p
int erasedChunks;