[PVFS2-CVS]
commit by rbross in pvfs2/src/client/sysint: mgmt-misc.c
mgmt-statfs-list.sm
CVS commit program
cvs at parl.clemson.edu
Sun Feb 15 00:03:51 EST 2004
Update of /projects/cvsroot/pvfs2/src/client/sysint
In directory parlweb:/tmp/cvs-serv20516/src/client/sysint
Modified Files:
mgmt-misc.c mgmt-statfs-list.sm
Log Message:
Added PVFS_EPARTIAL (for now anyway; would like a little better name!).
Added error_array to PVFS_mgmt_statfs_list(); dropped in NULL placeholder in
all calls to it.
Added allocation of error array in karma/comm.c to hold particular errors.
Note: none of this is actually *used* yet.
Index: mgmt-misc.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/mgmt-misc.c,v
diff -p -u -r1.10 -r1.11
--- mgmt-misc.c 7 Oct 2003 19:13:15 -0000 1.10
+++ mgmt-misc.c 15 Feb 2004 05:03:51 -0000 1.11
@@ -82,11 +82,12 @@ int PVFS_mgmt_statfs_all(
}
ret = PVFS_mgmt_statfs_list(
- fs_id,
- credentials,
- stat_array,
- addr_array,
- real_count);
+ fs_id,
+ credentials,
+ stat_array,
+ addr_array,
+ NULL, /* error array */
+ real_count);
free(addr_array);
Index: mgmt-statfs-list.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/mgmt-statfs-list.sm,v
diff -p -u -r1.12 -r1.13
--- mgmt-statfs-list.sm 30 Jan 2004 20:12:10 -0000 1.12
+++ mgmt-statfs-list.sm 15 Feb 2004 05:03:51 -0000 1.13
@@ -55,12 +55,12 @@ machine pvfs2_client_mgmt_statfs_list_sm
%%
-int PVFS_mgmt_statfs_list(
- PVFS_fs_id fs_id,
- PVFS_credentials credentials,
- struct PVFS_mgmt_server_stat* stat_array,
- PVFS_id_gen_t* addr_array,
- int count)
+int PVFS_mgmt_statfs_list(PVFS_fs_id fs_id,
+ PVFS_credentials credentials,
+ struct PVFS_mgmt_server_stat* stat_array,
+ PVFS_id_gen_t* addr_array,
+ int *error_array,
+ int count)
{
int ret;
PINT_client_sm *sm_p;
More information about the PVFS2-CVS
mailing list