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

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Tue Jun 21 16:10:00 CDT 2005


Author: manish
Date: 2005-06-21 16:09:58 -0500 (Tue, 21 Jun 2005)
New Revision: 968

Modified:
   trunk/ocfs2console/ocfs2interface/ocfsplist.c
Log:
Exclude busy devices in unmounted listing


Modified: trunk/ocfs2console/ocfs2interface/ocfsplist.c
===================================================================
--- trunk/ocfs2console/ocfs2interface/ocfsplist.c	2005-06-21 21:03:00 UTC (rev 967)
+++ trunk/ocfs2console/ocfs2interface/ocfsplist.c	2005-06-21 21:09:58 UTC (rev 968)
@@ -314,7 +314,7 @@
 	  else
 	    info.mountpoint = NULL;
 
-	  if (wdata->unmounted)
+	  if (wdata->unmounted && !(flags & OCFS2_MF_BUSY))
 	    {
 	      if ((info.mountpoint == NULL) && !used_unmounted (info.fstype))
 		wdata->func (&info, wdata->data);



More information about the Ocfs2-tools-commits mailing list