[Ocfs2-tools-commits] manish commits r735 - trunk/ocfs2console/ocfs2interface

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Fri Mar 25 18:03:02 CST 2005


Author: manish
Date: 2005-03-25 18:03:00 -0600 (Fri, 25 Mar 2005)
New Revision: 735

Modified:
   trunk/ocfs2console/ocfs2interface/ocfsplist.c
Log:
Ignore oracle ASM disks when scanning for unmounted partitions


Modified: trunk/ocfs2console/ocfs2interface/ocfsplist.c
===================================================================
--- trunk/ocfs2console/ocfs2interface/ocfsplist.c	2005-03-23 18:11:49 UTC (rev 734)
+++ trunk/ocfs2console/ocfs2interface/ocfsplist.c	2005-03-26 00:03:00 UTC (rev 735)
@@ -277,7 +277,13 @@
 	  else
 	    info.mountpoint = NULL;
 
-	  if (!wdata->unmounted || !info.mountpoint)
+	  if (wdata->unmounted)
+	    {
+	      if ((info.mountpoint == NULL) &&
+		  (strcmp (info.fstype, "oracleasm") != 0))
+		wdata->func (&info, wdata->data);
+	    }
+	  else
 	    wdata->func (&info, wdata->data);
 
 	  g_free (info.fstype);



More information about the Ocfs2-tools-commits mailing list