[Ocfs2-tools-commits] jlbec commits r891 - trunk/extras

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Sun May 15 22:26:34 CDT 2005


Author: jlbec
Date: 2005-05-15 22:26:32 -0500 (Sun, 15 May 2005)
New Revision: 891

Modified:
   trunk/extras/find_dup_extents.c
Log:
o find_dup_extents needs to know about CHAIN_FL and fast symlinks

Modified: trunk/extras/find_dup_extents.c
===================================================================
--- trunk/extras/find_dup_extents.c	2005-05-13 23:43:09 UTC (rev 890)
+++ trunk/extras/find_dup_extents.c	2005-05-16 03:26:32 UTC (rev 891)
@@ -189,9 +189,13 @@
 
 			if ((di->i_flags & OCFS2_SYSTEM_FL) &&
 			    (di->i_flags & (OCFS2_SUPER_BLOCK_FL |
-					    OCFS2_LOCAL_ALLOC_FL)))
+					    OCFS2_LOCAL_ALLOC_FL |
+					    OCFS2_CHAIN_FL)))
 				continue;
 
+			if (!di->i_clusters && S_ISLNK(di->i_mode))
+				continue;
+
 			we->blkno = blkno;
 			ret = ocfs2_extent_iterate(we->fs, blkno,
 						   OCFS2_EXTENT_FLAG_DATA_ONLY,



More information about the Ocfs2-tools-commits mailing list