[Ocfs2-tools-commits] zab commits r398 - trunk/libocfs2/include
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Fri Nov 12 18:16:24 CST 2004
Author: zab
Date: 2004-11-12 18:16:22 -0600 (Fri, 12 Nov 2004)
New Revision: 398
Modified:
trunk/libocfs2/include/ocfs2_fs.h
Log:
o revert gratuitous uint32_t change
o remove authors to sync up with ocfs2
Modified: trunk/libocfs2/include/ocfs2_fs.h
===================================================================
--- trunk/libocfs2/include/ocfs2_fs.h 2004-11-12 23:26:25 UTC (rev 397)
+++ trunk/libocfs2/include/ocfs2_fs.h 2004-11-13 00:16:22 UTC (rev 398)
@@ -20,9 +20,6 @@
* License along with this program; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 021110-1307, USA.
- *
- * Authors: Kurt Hackel, Mark Fasheh, Sunil Mushran, Wim Coekaerts,
- * Manish Singh, Joel Becker
*/
#ifndef _OCFS2_FS_H
@@ -466,11 +463,12 @@
return size;
}
-static inline uint32_t ocfs2_group_bitmap_size(struct super_block *sb)
+static inline int ocfs2_group_bitmap_size(struct super_block *sb)
{
- uint32_t size;
+ int size;
- size = sb->s_blocksize - offsetof(struct _ocfs2_group_desc, bg_bitmap);
+ size = sb->s_blocksize -
+ offsetof(struct _ocfs2_group_desc, bg_bitmap);
return size;
}
@@ -515,11 +513,12 @@
return size;
}
-static inline uint32_t ocfs2_group_bitmap_size(int blocksize)
+static inline int ocfs2_group_bitmap_size(int blocksize)
{
- uint32_t size;
+ int size;
- size = blocksize - offsetof(struct _ocfs2_group_desc, bg_bitmap);
+ size = blocksize -
+ offsetof(struct _ocfs2_group_desc, bg_bitmap);
return size;
}
More information about the Ocfs2-tools-commits
mailing list