GFS2: Move journal live test at transaction start
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 13 May 2009 09:56:52 +0000 (10:56 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 13 May 2009 09:56:52 +0000 (10:56 +0100)
There seems little point grabbing the transaction glock
only to have to release it again if the journal isn't
live. This moves the test earlier to avoid grabbing the lock
when we don't need it in the first place.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>

No differences found