ocfs2: Check heartbeat mode for kernel stacks only
authorMark Fasheh <mfasheh@suse.com>
Mon, 31 Jan 2011 19:31:04 +0000 (11:31 -0800)
committerJoel Becker <jlbec@evilplan.org>
Sun, 20 Feb 2011 10:36:28 +0000 (02:36 -0800)
commit52c303c56c3638944b5f733e3961dc58eb8c7270
treed709069b626580ce7632f9377dd71950f38d5f28
parentacf3bb007e5636ef4c17505affb0974175108553
ocfs2: Check heartbeat mode for kernel stacks only

Commit 2c442719e90a44a6982c033d69df4aae4b167cfa added some checks for proper
heartbeat mode when the o2cb stack is running.  Unfortunately, it didn't
take into account that a userpsace stack could be running. Fix this by only
doing the check if o2cb is in use. This patch allows userspace stacks to
mount the fs again.

Cc: stable@kernel.org
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Joel Becker <jlbec@evilplan.org>
fs/ocfs2/super.c