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

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Tue Jun 21 16:12:29 CDT 2005


Author: manish
Date: 2005-06-21 16:12:27 -0500 (Tue, 21 Jun 2005)
New Revision: 969

Modified:
   trunk/ocfs2console/ocfs2interface/ocfsplist.c
Log:
Oops, put the check in the wrong place


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



More information about the Ocfs2-tools-commits mailing list