[Ocfs2-tools-commits] mfasheh commits r431 - branches/dlm-glue/dlmtools

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Fri Nov 19 20:09:04 CST 2004


Author: mfasheh
Date: 2004-11-19 20:09:02 -0600 (Fri, 19 Nov 2004)
New Revision: 431

Modified:
   branches/dlm-glue/dlmtools/mount.ocfs2.c
Log:
* ignore unknown -o options



Modified: branches/dlm-glue/dlmtools/mount.ocfs2.c
===================================================================
--- branches/dlm-glue/dlmtools/mount.ocfs2.c	2004-11-20 00:53:28 UTC (rev 430)
+++ branches/dlm-glue/dlmtools/mount.ocfs2.c	2004-11-20 02:09:02 UTC (rev 431)
@@ -244,8 +244,12 @@
 						goto bail;
 					*hbdev = strndup(tmp, tmp2-tmp);
 				} else {
-					/* invalid option */
-					goto bail;
+					/* unknown option, correct
+					 * behavior seems to be to
+					 * ignore these as they may be
+					 * handled by another
+					 * layer. */
+					tmp2 = strchr(tmp, ',');
 				}
 				tmp = tmp2;
 				if (!tmp || !*tmp)



More information about the Ocfs2-tools-commits mailing list