reiserfs: convert j_lock to mutex
authorJeff Mahoney <jeffm@suse.com>
Fri, 25 Jul 2008 08:46:38 +0000 (01:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:33 +0000 (10:53 -0700)
commitf68215c4640a38d66429014e524a627bf572d26a
tree9880a7adbdcda5dba88fe875520b787555b80802
parent00b441970a0ab48185244300ac7d4e4eb76df692
reiserfs: convert j_lock to mutex

j_lock is a semaphore but uses it as if it were a mutex.  This patch converts
it to a mutex.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Cc: Matthew Wilcox <matthew@wil.cx>
Cc: Chris Mason <chris.mason@oracle.com>
Cc: Edward Shishkin <edward.shishkin@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/reiserfs/journal.c
include/linux/reiserfs_fs_sb.h