Changeset 8397 for branches/cu-security-branch/src/apps/karma/comm.c
- Timestamp:
- 06/18/10 20:02:50 (3 years ago)
- Location:
- branches/cu-security-branch
- Files:
-
- 3 modified
-
. (modified) (1 prop)
-
src/apps/karma (modified) (1 prop)
-
src/apps/karma/comm.c (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/cu-security-branch
- Property svn:ignore
-
old new 3 3 aclocal.m4 4 4 autom4te.cache 5 config.status6 Makefile7 pvfs2-config.h8 module.mk
-
- Property svn:ignore
-
branches/cu-security-branch/src/apps/karma
- Property svn:ignore deleted
-
branches/cu-security-branch/src/apps/karma/comm.c
r7941 r8397 15 15 16 16 #include "karma.h" 17 #include "security-util.h"18 17 19 18 #define GUI_COMM_PERF_HISTORY 5 … … 43 42 GtkListStore *gui_comm_fslist; 44 43 45 static PVFS_credential *cred;44 static PVFS_credentials creds; 46 45 static PVFS_fs_id cur_fsid = -1; 47 46 … … 162 161 } 163 162 164 cred = PVFS_util_gen_fake_credential(); 165 assert(cred); 163 PVFS_util_gen_credentials(&creds); 166 164 167 165 /* print message indicating what file system we are monitoring */ … … 222 220 223 221 ret = PVFS_mgmt_count_servers(cur_fsid, 224 cred,222 &creds, 225 223 PVFS_MGMT_IO_SERVER | PVFS_MGMT_META_SERVER, 226 224 &outcount); … … 262 260 internal_addr_ct = outcount; 263 261 ret = PVFS_mgmt_get_server_array(cur_fsid, 264 cred,262 &creds, 265 263 PVFS_MGMT_IO_SERVER | 266 264 PVFS_MGMT_META_SERVER, internal_addrs, … … 351 349 352 350 ret = PVFS_mgmt_statfs_list(cur_fsid, 353 cred,351 &creds, 354 352 internal_stats, 355 353 internal_addrs, … … 370 368 "Server %s not responding: %s\n", 371 369 PVFS_mgmt_map_addr(cur_fsid, 372 cred,370 &creds, 373 371 internal_details->error[i].addr, 374 372 &dummy), … … 405 403 #ifndef FAKE_PERF 406 404 ret = PVFS_mgmt_perf_mon_list(cur_fsid, 407 cred,405 &creds, 408 406 internal_perf, 409 407 internal_end_time_ms, … … 411 409 internal_perf_ids, 412 410 internal_addr_ct, 413 GUI_COMM_PERF_HISTORY, internal_details, 411 GUI_COMM_PERF_HISTORY, internal_details, 414 412 NULL); 415 413 if (ret == 0) … … 428 426 "Server %s not responding: %s\n", 429 427 PVFS_mgmt_map_addr(cur_fsid, 430 cred,428 &creds, 431 429 internal_details->error[i].addr, 432 430 &dummy),
