]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ocfs2: Check heartbeat mode for kernel stacks only
authorMark Fasheh <mfasheh@suse.com>
Mon, 31 Jan 2011 19:31:04 +0000 (11:31 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 7 Mar 2011 23:05:16 +0000 (15:05 -0800)
commitdbb59808e7fca1d4c794a3bfeea7f2046fc25f12
treee02078414f61c5aa6ea11fae161c039944024db5
parent857f5c5af132d55dfa0e5aff8843fff43d45b9fb
ocfs2: Check heartbeat mode for kernel stacks only

commit 52c303c56c3638944b5f733e3961dc58eb8c7270 upstream.

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.

Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/ocfs2/super.c