[PVFS2-CVS]
commit by neill in pvfs2/src/client/sysint: sys-create.sm
CVS commit program
cvs at parl.clemson.edu
Thu Oct 28 18:04:29 EDT 2004
Update of /projects/cvsroot/pvfs2/src/client/sysint
In directory parlweb:/tmp/cvs-serv14662/src/client/sysint
Modified Files:
sys-create.sm
Log Message:
- some more experimentation with the readdir stuff from the vfs standpoint.
shouldn't be any more broken than before, but it needs more work
- fixed vfs directory version type mismatch
Index: sys-create.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/sys-create.sm,v
diff -p -u -r1.69 -r1.70
--- sys-create.sm 27 Oct 2004 19:16:37 -0000 1.69
+++ sys-create.sm 28 Oct 2004 21:04:29 -0000 1.70
@@ -273,6 +273,7 @@ PVFS_error PVFS_isys_create(
PINT_init_sysint_credentials(sm_p->cred_p, credentials);
sm_p->u.create.object_name = object_name;
sm_p->u.create.create_resp = resp;
+ sm_p->u.create.datafile_handles = NULL;
PVFS_util_copy_sys_attr(&sm_p->u.create.sys_attr, &attr);
sm_p->u.create.stored_error_code = 0;
sm_p->u.create.retry_count = 0;
@@ -836,7 +837,8 @@ static int create_delete_handles_setup_m
actual_count = 1;
for(i = 0; i < sm_p->u.create.num_data_files; i++)
{
- if (sm_p->u.create.datafile_handles[i] != PVFS_HANDLE_NULL)
+ if (sm_p->u.create.datafile_handles &&
+ (sm_p->u.create.datafile_handles[i] != PVFS_HANDLE_NULL))
{
actual_count++;
}
More information about the PVFS2-CVS
mailing list