[Ocfs2-tools-commits] jlbec commits r454 - in trunk: fsck.ocfs2 mkfs.ocfs2

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Fri Dec 3 14:10:19 CST 2004


Author: jlbec
Date: 2004-12-03 14:10:17 -0600 (Fri, 03 Dec 2004)
New Revision: 454

Modified:
   trunk/fsck.ocfs2/
   trunk/mkfs.ocfs2/mkfs.c
Log:
Just dump BITCOUNT from mkfs.  not even used


Property changes on: trunk/fsck.ocfs2
___________________________________________________________________
Name: svn:ignore
   - cscope*
stamp-md5
.*.sw?
.*.cmd
fsck.ocfs2

   + cscope*
stamp-md5
.*.sw?
.*.cmd
fsck.ocfs2
*.8


Modified: trunk/mkfs.ocfs2/mkfs.c
===================================================================
--- trunk/mkfs.ocfs2/mkfs.c	2004-12-03 19:02:00 UTC (rev 453)
+++ trunk/mkfs.ocfs2/mkfs.c	2004-12-03 20:10:17 UTC (rev 454)
@@ -63,11 +63,6 @@
 #define MAX(a, b) (((a) > (b)) ? (a) : (b))
 #endif
 
-#define BITCOUNT(x)     (((BX_(x)+(BX_(x)>>4)) & 0x0F0F0F0F) % 255)
-#define BX_(x)          ((x) - (((x)>>1)&0x77777777) \
-			     - (((x)>>2)&0x33333333) \
-			     - (((x)>>3)&0x11111111))
-
 #define MIN_RESERVED_TAIL_BLOCKS    8
 
 #define LEADING_SPACE_BLOCKS    2



More information about the Ocfs2-tools-commits mailing list