[Ocfs2-tools-commits] taoma commits r1327 - branches/sparse-files/libocfs2

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Sun Mar 25 23:03:04 PDT 2007


Author: taoma
Date: 2007-03-25 23:03:02 -0700 (Sun, 25 Mar 2007)
New Revision: 1327

Modified:
   branches/sparse-files/libocfs2/extend_file.c
Log:
Fix a wrong usage of ocfs2_rec_clusters in ocfs2-tools.

Modified: branches/sparse-files/libocfs2/extend_file.c
===================================================================
--- branches/sparse-files/libocfs2/extend_file.c	2007-03-26 06:01:15 UTC (rev 1326)
+++ branches/sparse-files/libocfs2/extend_file.c	2007-03-26 06:03:02 UTC (rev 1327)
@@ -1190,7 +1190,8 @@
 				}
 
 				*cpos = el->l_recs[j - 1].e_cpos;
-				*cpos = *cpos + ocfs2_rec_clusters(el,
+				*cpos = *cpos + ocfs2_rec_clusters(
+							el->l_tree_depth,
 							&el->l_recs[j - 1]);
 				*cpos = *cpos - 1;
 				goto out;




More information about the Ocfs2-tools-commits mailing list