ocfs2: __ocfs2_abort() should not enable panic for local mounts
authorSunil Mushran <sunil.mushran@oracle.com>
Wed, 19 Aug 2009 22:16:01 +0000 (15:16 -0700)
committerJoel Becker <joel.becker@oracle.com>
Wed, 23 Sep 2009 08:54:46 +0000 (01:54 -0700)
commita2f2ddbf2bafdbc7e4f3bbf09439b42c8fee2747
tree0b027ad2957530c457b2589d96c361232eabe740
parentbd50873dc725a9fa72592ecc986c58805e823051
ocfs2: __ocfs2_abort() should not enable panic for local mounts

In a clustered setup, we have to panic the box on journal abort. This is
because we don't have the facility to go hard readonly. With hard ro, another
node would detect node failure and initiate recovery.

Having said that, we shouldn't force panic if the volume is mounted locally.
This patch defers the handling to the mount option, errors.

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/super.c