diff options
author | Ingo Molnar <mingo@elte.hu> | 2006-03-23 03:00:40 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-23 07:38:13 -0800 |
commit | 1eb0d67007e75697a7b87e6b611be935a991395c (patch) | |
tree | 35ce5e6313f89d2ef054870734d52b17388fe001 /fs/jffs/jffs_fm.c | |
parent | 910f5d202ce39cc78de1bbb679285a3167de9fb2 (diff) | |
download | lwn-1eb0d67007e75697a7b87e6b611be935a991395c.tar.gz lwn-1eb0d67007e75697a7b87e6b611be935a991395c.zip |
[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.c | 2 |
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; } |