[Ocfs2-commits] mfasheh commits r1377 - trunk/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Tue Aug 24 16:14:35 CDT 2004


Author: mfasheh
Date: 2004-08-24 16:14:33 -0500 (Tue, 24 Aug 2004)
New Revision: 1377

Modified:
   trunk/src/sysfile.c
Log:
* fix bugzilla bug 120



Modified: trunk/src/sysfile.c
===================================================================
--- trunk/src/sysfile.c	2004-08-24 21:13:22 UTC (rev 1376)
+++ trunk/src/sysfile.c	2004-08-24 21:14:33 UTC (rev 1377)
@@ -159,7 +159,7 @@
 	blocks = Length >> osb->sb->s_blocksize_bits;
 	while (blocks > 0) {
 		status = ocfs_lookup_file_allocation(osb, off, &ret,
-						     Length, 
+						     (Length - off), 
 						     &contig_bytes,
 						     inode, 1);
 		contig_blocks =



More information about the Ocfs2-commits mailing list