[PVFS2-CVS] commit by rbross in pvfs2/src/apps/admin: pvfs2-fs-dump.c pvfs2-statfs.c

CVS commit program cvs at parl.clemson.edu
Sun Feb 15 00:03:51 EST 2004


Update of /projects/cvsroot/pvfs2/src/apps/admin
In directory parlweb:/tmp/cvs-serv20516/src/apps/admin

Modified Files:
	pvfs2-fs-dump.c pvfs2-statfs.c 
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: pvfs2-fs-dump.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/apps/admin/pvfs2-fs-dump.c,v
diff -p -u -r1.16 -r1.17
--- pvfs2-fs-dump.c	30 Jan 2004 20:21:22 -0000	1.16
+++ pvfs2-fs-dump.c	15 Feb 2004 05:03:51 -0000	1.17
@@ -282,6 +282,7 @@ int build_handlelist(PVFS_fs_id cur_fs,
 				creds,
 				stat_array,
 				addr_array,
+				NULL, /* error array */
 				server_count);
     if (ret != 0)
     {

Index: pvfs2-statfs.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/apps/admin/pvfs2-statfs.c,v
diff -p -u -r1.12 -r1.13
--- pvfs2-statfs.c	30 Jan 2004 20:21:22 -0000	1.12
+++ pvfs2-statfs.c	15 Feb 2004 05:03:51 -0000	1.13
@@ -191,7 +191,12 @@ int main(int argc, char **argv)
 	    return(-1);
 	}
 
-	ret = PVFS_mgmt_statfs_list(cur_fs, creds, stat_array, addr_array, outcount);
+	ret = PVFS_mgmt_statfs_list(cur_fs,
+				    creds,
+				    stat_array,
+				    addr_array,
+				    NULL, /* error array */
+				    outcount);
 	if(ret < 0)
 	{
 	    PVFS_perror("PVFS_mgmt_statfs_list", ret);



More information about the PVFS2-CVS mailing list