summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f1bdf1d)
raw | patch | inline | side by side (parent: f1bdf1d)
author | Florian Forster <octo@collectd.org> | |
Sun, 29 Oct 2017 14:34:21 +0000 (15:34 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Sun, 29 Oct 2017 14:34:21 +0000 (15:34 +0100) |
src/nfs.c | patch | blob | history |
diff --git a/src/nfs.c b/src/nfs.c
index 36da8bf39864c81c9a713325a932f977e4773b63..b556307ecad933cd0992051240870bc56f0dc51c 100644 (file)
--- a/src/nfs.c
+++ b/src/nfs.c
static const char *nfs4_server4x_procedures_names[] = {
/* NFS 4.1 */
- "backchannel_ctl",
- "bind_conn_to_session",
- "exchange_id",
- "create_session",
- "destroy_session",
- "free_stateid",
- "get_dir_delegation",
- "getdeviceinfo",
- "getdevicelist",
- "layoutcommit",
- "layoutget",
- "layoutreturn",
- "secinfo_no_name",
- "sequence",
- "set_ssv",
- "test_stateid",
- "want_delegation",
- "destroy_clientid",
- "reclaim_complete",
+ "backchannel_ctl", "bind_conn_to_session", "exchange_id", "create_session",
+ "destroy_session", "free_stateid", "get_dir_delegation", "getdeviceinfo",
+ "getdevicelist", "layoutcommit", "layoutget", "layoutreturn",
+ "secinfo_no_name", "sequence", "set_ssv", "test_stateid", "want_delegation",
+ "destroy_clientid", "reclaim_complete",
/* NFS 4.2 */
- "allocate", /* 3.18 */
- "copy", /* 3.18 */
- "copy_notify", /* 3.18 */
- "deallocate", /* 3.18 */
- "ioadvise", /* 3.18 */
- "layouterror", /* 3.18 */
- "layoutstats", /* 3.18 */
- "offloadcancel", /* 3.18 */
- "offloadstatus", /* 3.18 */
- "readplus", /* 3.18 */
- "seek", /* 3.18 */
- "write_same", /* 3.18 */
- "clone" /* 4.5 */
+ "allocate", /* 3.18 */
+ "copy", /* 3.18 */
+ "copy_notify", /* 3.18 */
+ "deallocate", /* 3.18 */
+ "ioadvise", /* 3.18 */
+ "layouterror", /* 3.18 */
+ "layoutstats", /* 3.18 */
+ "offloadcancel", /* 3.18 */
+ "offloadstatus", /* 3.18 */
+ "readplus", /* 3.18 */
+ "seek", /* 3.18 */
+ "write_same", /* 3.18 */
+ "clone" /* 4.5 */
};
#define NFS4_SERVER40_NUM_PROC \
"bind_conn_to_session", /* |53| 3.5 */
"destroy_clientid", /* |53| 3.5 */
/* NFS 4.2 */
- "seek", /* |55| 3.18 */
- "allocate", /* |57| 3.19 */
- "deallocate", /* |57| 3.19 */
- "layoutstats", /* |58| 4.2 */
- "clone", /* |59| 4.4 */
- "copy" /* |60| 4.7 */
+ "seek", /* |55| 3.18 */
+ "allocate", /* |57| 3.19 */
+ "deallocate", /* |57| 3.19 */
+ "layoutstats", /* |58| 4.2 */
+ "clone", /* |59| 4.4 */
+ "copy" /* |60| 4.7 */
};
#define NFS4_CLIENT40_NUM_PROC \
case NFS4_SERVER40_NUM_PROC + 19: /* NFS 4.1 */
case NFS4_SERVER40_NUM_PROC + 31: /* NFS 4.2 */
case NFS4_SERVER40_NUM_PROC + 32: /* NFS 4.2 */
- break;
+ break;
default:
if (!suppress_warning) {
WARNING("nfs plugin: Unexpected number of fields for "