[JFFS2] Init locks early during mount
authorArtem B. Bityuckiy <dedekind@infradead.org>
Tue, 12 Jul 2005 16:37:12 +0000 (17:37 +0100)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Tue, 12 Jul 2005 22:02:33 +0000 (00:02 +0200)
commitb62205986a73a40e4fc174d2ef668e3895e925bc
treee5754d64dcdf508dd4f3602135c963990d261411
parente4fef6618992bea48b7856ebbd236796b744964f
[JFFS2] Init locks early during mount

In case of a mount error locks might be uninitialized but
accessed by the resulting call to jffs2_kill_sb().

Signed-off-by: Artem B. Bityuckiy <dedekind@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
fs/jffs2/build.c
fs/jffs2/super.c