]> 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>
Tue, 13 Dec 2011 06:43:25 +0000 (17:43 +1100)
commit262f363ea9cedd4296dc0a4f86213405330c4124
tree2d85422d21052034e59144c0ceb81f602b8161d0
parent4837500585856eb8fcf464f268775a4d9d28980d
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