[Ocfs2-commits] mfasheh commits r2558 - trunk/fs/ocfs2

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed Aug 31 13:12:33 CDT 2005


Author: mfasheh
Signed-off-by: manish
Date: 2005-08-31 13:12:32 -0500 (Wed, 31 Aug 2005)
New Revision: 2558

Modified:
   trunk/fs/ocfs2/ocfs2.h
Log:
* remove unused and poorly named ocfs2_align_bytes_to_blocks()

Signed-off-by: manish



Modified: trunk/fs/ocfs2/ocfs2.h
===================================================================
--- trunk/fs/ocfs2/ocfs2.h	2005-08-31 18:03:07 UTC (rev 2557)
+++ trunk/fs/ocfs2/ocfs2.h	2005-08-31 18:12:32 UTC (rev 2558)
@@ -378,13 +378,6 @@
 	return (u64)clusters << cl_bits;
 }
 
-static inline unsigned long ocfs2_align_bytes_to_blocks(struct super_block *sb,
-							u64 bytes)
-{
-	bytes += sb->s_blocksize - 1;
-	return (unsigned long)(bytes >> sb->s_blocksize_bits);
-}
-
 static inline unsigned long ocfs2_align_bytes_to_sectors(u64 bytes)
 {
 	return (unsigned long)((bytes + 511) >> 9);



More information about the Ocfs2-commits mailing list