GFS2: Fix journal check for spectator mounts
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 27 Sep 2010 14:58:11 +0000 (15:58 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 27 Sep 2010 14:58:11 +0000 (15:58 +0100)
commitd0795f912318f65b800c6b619d749c3bf7c930fb
treec3d13ab5e4864306cc215d4dd6b6cecb1e33d77b
parentc80dbb58f9c3f84372e37dfe80b41810052ad62f
GFS2: Fix journal check for spectator mounts

When checking journals for spectator mounts, we cannot rely on the
journal being locked, whatever its jid might be. This patch
ensures that we always get the journal locks when checking
journals for a spectator mount.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/recovery.c