reiserfs: convert j_commit_lock to mutex
authorJeff Mahoney <jeffm@suse.com>
Fri, 25 Jul 2008 08:46:40 +0000 (01:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:33 +0000 (10:53 -0700)
commit90415deac75a761a25239af6f56381546f8d2201
treedbe5a717fa3629533653af99492cd348a0ec7e1f
parentafe70259076fff0446001eaa1a287f615241a357
reiserfs: convert j_commit_lock to mutex

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

[akpm@linux-foundation.org: coding-style fixes]
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