[Ocfs2-commits] mfasheh commits r1270 - trunk/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Thu Jul 15 16:35:53 CDT 2004


Author: mfasheh
Date: 2004-07-15 15:35:51 -0500 (Thu, 15 Jul 2004)
New Revision: 1270

Modified:
   trunk/src/dir.c
Log:
* remove this BUG(). It was usefull only during early testing



Modified: trunk/src/dir.c
===================================================================
--- trunk/src/dir.c	2004-07-15 17:42:59 UTC (rev 1269)
+++ trunk/src/dir.c	2004-07-15 20:35:51 UTC (rev 1270)
@@ -77,7 +77,6 @@
 	int err;
 	struct inode *inode = filp->f_dentry->d_inode;
 	struct super_block * sb = inode->i_sb;
-	int we_are_brown = 0;
 	int have_disk_lock = 0;
 	ocfs_super *osb = OCFS_SB(sb);
 
@@ -128,14 +127,6 @@
 			}
 		}
 
-#warning possible brown stain
-		if (we_are_brown) {
-#warning take this out later
-			LOG_ERROR_ARGS("uhoh! buf not null... block=%llu\n",
-					(unsigned long long)bh->b_blocknr);
-			BUG();
-		}
-		we_are_brown = 1;
 revalidate:
 		/* If the dir block has changed since the last call to
 		 * readdir(2), then we might be pointing to an invalid



More information about the Ocfs2-commits mailing list