diff options
author | James Simmons <jsimmons@infradead.org> | 2017-01-16 16:30:37 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-19 11:12:53 +0100 |
commit | 079550b95d2989ff1eeef6ba414b73365325da3f (patch) | |
tree | d48b2b8cca0731f43feda7c7a10485e908ab4ef5 /drivers/staging/lustre/include/linux/lnet/lnetst.h | |
parent | f7a985a0262fc1983822a5c4d11fa26e2fe82008 (diff) | |
download | op-kernel-dev-079550b95d2989ff1eeef6ba414b73365325da3f.zip op-kernel-dev-079550b95d2989ff1eeef6ba414b73365325da3f.tar.gz |
staging: lustre: lnet: change sfw_counter_t to proper structure
Change sfw_counter_t from typedef to proper structure.
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6142
Reviewed-on: https://review.whamcloud.com/24188
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Doug Oucharek <doug.s.oucharek@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/include/linux/lnet/lnetst.h')
-rw-r--r-- | drivers/staging/lustre/include/linux/lnet/lnetst.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/lustre/include/linux/lnet/lnetst.h b/drivers/staging/lustre/include/linux/lnet/lnetst.h index 575d23a..c81c246 100644 --- a/drivers/staging/lustre/include/linux/lnet/lnetst.h +++ b/drivers/staging/lustre/include/linux/lnet/lnetst.h @@ -511,13 +511,13 @@ struct srpc_counters { __u64 bulk_put; } WIRE_ATTR; -typedef struct { +struct sfw_counters { /** milliseconds since current session started */ __u32 running_ms; __u32 active_batches; __u32 zombie_sessions; __u32 brw_errors; __u32 ping_errors; -} WIRE_ATTR sfw_counters_t; +} WIRE_ATTR; #endif |