]> git.karo-electronics.de Git - karo-tx-linux.git/commit
reiserfs: don't lock journal_init()
authorFrederic Weisbecker <fweisbec@gmail.com>
Fri, 16 Dec 2011 04:50:29 +0000 (15:50 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Dec 2011 06:01:43 +0000 (17:01 +1100)
commit60809526a189937aa1d2e38e41afa026055bd03c
tree90c1ee2ee062b81e797a619d6b55806af9b60e9e
parent460e2bb19addc8699dee4d9121b9358893828f61
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