summaryrefslogtreecommitdiff
path: root/fs/jffs/jffs_fm.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2006-03-23 14:00:40 +0300
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-23 18:38:13 +0300
commit1eb0d67007e75697a7b87e6b611be935a991395c (patch)
tree35ce5e6313f89d2ef054870734d52b17388fe001 /fs/jffs/jffs_fm.c
parent910f5d202ce39cc78de1bbb679285a3167de9fb2 (diff)
downloadlinux-1eb0d67007e75697a7b87e6b611be935a991395c.tar.xz
[PATCH] sem2mutex: JFFS
Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar <mingo@elte.hu> Cc: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/jffs/jffs_fm.c')
-rw-r--r--fs/jffs/jffs_fm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jffs/jffs_fm.c b/fs/jffs/jffs_fm.c
index 6da13b309bd1..7d8ca1aeace2 100644
--- a/fs/jffs/jffs_fm.c
+++ b/fs/jffs/jffs_fm.c
@@ -139,7 +139,7 @@ jffs_build_begin(struct jffs_control *c, int unit)
fmc->tail = NULL;
fmc->head_extra = NULL;
fmc->tail_extra = NULL;
- init_MUTEX(&fmc->biglock);
+ mutex_init(&fmc->biglock);
return fmc;
}