jbd2: Convert jbd2_slab_create_sem to mutex
authorThomas Gleixner <tglx@linutronix.de>
Sat, 16 Oct 2010 20:34:39 +0000 (22:34 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 30 Oct 2010 10:12:50 +0000 (12:12 +0200)
commit51dfacdef38b1dd6fc58b03dd1725d517516b115
tree71db75044a42f316c5956bb807f9846c14d12b16
parent117bf5fbdbdc7a5394e5718b3354238961c83067
jbd2: Convert jbd2_slab_create_sem to mutex

jbd2_slab_create_sem is used as a mutex, so make it one.

[ akpm muttered: We may as well make it local to
jbd2_journal_create_slab() also. ]

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Ted Ts'o <tytso@mit.edu>
Cc: Andrew Morton <akpm@linux-foundation.org>
LKML-Reference: <alpine.LFD.2.00.1010162231480.2496@localhost6.localdomain6>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
fs/jbd2/journal.c