[Ocfs2-commits] manish commits r937 - trunk/src/inc
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Mon May 24 22:31:07 CDT 2004
Author: manish
Date: 2004-05-24 21:31:06 -0500 (Mon, 24 May 2004)
New Revision: 937
Modified:
trunk/src/inc/journal.h
Log:
Cast to __u32 with OCFS_ALIGN to avoid udivdi3 reference
Modified: trunk/src/inc/journal.h
===================================================================
--- trunk/src/inc/journal.h 2004-05-25 02:14:54 UTC (rev 936)
+++ trunk/src/inc/journal.h 2004-05-25 02:31:06 UTC (rev 937)
@@ -353,7 +353,8 @@
int bitmap_blocks;
unsigned int bits_wanted;
- bits_wanted = OCFS_ALIGN(bytes_wanted, cluster_size) / cluster_size;
+ bits_wanted = (__u32)OCFS_ALIGN(bytes_wanted, cluster_size) /
+ cluster_size;
/* take advantage of the fact that we always allocate in one
* large chunk. */
bitmap_blocks = 1 + OCFS_ALIGN(bits_wanted, OCFS_BITS_IN_CHUNK) /
More information about the Ocfs2-commits
mailing list