ocfs2: Make nointr a default mount option
authorSunil Mushran <sunil.mushran@oracle.com>
Wed, 14 Apr 2010 01:00:31 +0000 (18:00 -0700)
committerJoel Becker <joel.becker@oracle.com>
Thu, 6 May 2010 01:18:08 +0000 (18:18 -0700)
OCFS2 has never really supported intr. This patch acknowledges this reality
and makes nointr the default mount option. In a later patch, we intend to
support intr.

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

index 79d7d4cf45b141d49834626df08edce7db07be78..12c2203a62fe81b745e2bb989d2bb82a1e1929cd 100644 (file)
@@ -1297,7 +1297,7 @@ static int ocfs2_parse_options(struct super_block *sb,
                   options ? options : "(none)");
 
        mopt->commit_interval = 0;
-       mopt->mount_opt = 0;
+       mopt->mount_opt = OCFS2_MOUNT_NOINTR;
        mopt->atime_quantum = OCFS2_DEFAULT_ATIME_QUANTUM;
        mopt->slot = OCFS2_INVALID_SLOT;
        mopt->localalloc_opt = -1;