]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
reiserfs: don't lock journal_init()
authorFrederic Weisbecker <fweisbec@gmail.com>
Tue, 10 Jan 2012 23:11:09 +0000 (15:11 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Jan 2012 00:30:53 +0000 (16:30 -0800)
commit37c69b98d0dca54d9eb72226bbf2e211aaaf126e
tree249277ba7072933b760164bfac713140c0438745
parentf32485be8397ad811312bc055d2e2a5906bc7576
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>
Cc: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/reiserfs/journal.c
fs/reiserfs/super.c