[Ocfs2-commits] mfasheh commits r1490 - branches/dlm-changes/src
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Fri Sep 24 18:39:24 CDT 2004
Author: mfasheh
Date: 2004-09-24 18:39:22 -0500 (Fri, 24 Sep 2004)
New Revision: 1490
Modified:
branches/dlm-changes/src/aops.c
Log:
* make ocfs_direct_IO_get_blocks use the new extend_file.
Modified: branches/dlm-changes/src/aops.c
===================================================================
--- branches/dlm-changes/src/aops.c 2004-09-24 23:38:50 UTC (rev 1489)
+++ branches/dlm-changes/src/aops.c 2004-09-24 23:39:22 UTC (rev 1490)
@@ -539,8 +539,7 @@
blocks for the file. */
if (create && vbo_max > OCFS_I(inode)->ip_alloc_size) {
/* WARNING: How much do we really want to extend the file? */
- status = ocfs_extend_file(osb, vbo_max,
- NULL, inode, NULL, 0, NULL);
+ status = ocfs_extend_file(osb, vbo_max, inode, NULL);
if (status < 0) {
status = -ENOSPC;
LOG_ERROR_STR("ocfs_direct_IO_get_blocks: failed to extend the file!");
More information about the Ocfs2-commits
mailing list