]> git.karo-electronics.de Git - karo-tx-linux.git/commit
reiserfs: don't lock journal_init()
authorFrederic Weisbecker <fweisbec@gmail.com>
Thu, 8 Dec 2011 04:42:33 +0000 (15:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 14 Dec 2011 05:52:03 +0000 (16:52 +1100)
commit0dfe77b0c02180fe3a7914aa1f987077e3f3be23
tree575b3b7d4f5571345d10230a4832d2a8e90f2b3b
parented520e0dd58b618c62f5c790ec1140b90472d3f1
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