[Ocfs2-tools-commits] smushran commits r1358 - trunk/mount.ocfs2
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Wed Jun 6 14:20:11 PDT 2007
Author: smushran
Date: 2007-06-06 14:20:09 -0700 (Wed, 06 Jun 2007)
New Revision: 1358
Modified:
trunk/mount.ocfs2/mount.ocfs2.c
Log:
mount.ocfs2: Do not append _netdev for local mounts
The _netdev mount option is not required for local mounts as it does not have
a network dependency.
Signed-off-by: jlbec
Modified: trunk/mount.ocfs2/mount.ocfs2.c
===================================================================
--- trunk/mount.ocfs2/mount.ocfs2.c 2007-06-04 01:47:39 UTC (rev 1357)
+++ trunk/mount.ocfs2/mount.ocfs2.c 2007-06-06 21:20:09 UTC (rev 1358)
@@ -395,7 +395,8 @@
run_hb_ctl (hb_ctl_path, mo.dev, "-P");
update_mtab_entry(mo.dev, mo.dir, OCFS2_FS_NAME,
- fix_opts_string(((mo.flags & ~MS_NOMTAB) | MS_NETDEV),
+ fix_opts_string(((mo.flags & ~MS_NOMTAB) |
+ (clustered ? MS_NETDEV : 0)),
extra, NULL),
mo.flags, 0, 0);
More information about the Ocfs2-tools-commits
mailing list