]> git.karo-electronics.de Git - karo-tx-linux.git/commit
reiserfs: don't lock journal_init()
authorFrederic Weisbecker <fweisbec@gmail.com>
Wed, 30 Nov 2011 04:11:48 +0000 (15:11 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 30 Nov 2011 04:13:59 +0000 (15:13 +1100)
commitcf8598ca3619d59b838599f5a09e44919ead08a7
tree0b361dba7eb76bca139c9190cf83ebd69781a993
parentba8e73162e17d1e14baed440191b073a4cd0b193
reiserfs: don't lock journal_init()

journal_init() doesn't need the lock since no operation on the filesystem
is involved there.  journal_read() and get_list_bitmap() have yet to be
reviewed carefully though before removing the lock there.  Just keep the
it around these two calls for safety.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/reiserfs/journal.c
fs/reiserfs/super.c