reiserfs: delay reiserfs lock until journal initialization
authorFrederic Weisbecker <fweisbec@gmail.com>
Tue, 10 Jan 2012 23:11:07 +0000 (15:11 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Jan 2012 00:30:53 +0000 (16:30 -0800)
commitf32485be8397ad811312bc055d2e2a5906bc7576
tree3f3ca7a7d8395253189def7742fbd43698dce996
parentb18c1c6e0c90cbcd38ba879bd63a44c94e4f7301
reiserfs: delay reiserfs lock until journal initialization

In the mount path, transactions that are made before journal
initialization don't involve the filesystem.  We can delay the reiserfs
lock until we play with the journal.

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/bitmap.c
fs/reiserfs/super.c