diff options
author | James Simmons <jsimmons@infradead.org> | 2017-01-16 16:30:36 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-19 11:12:53 +0100 |
commit | f7a985a0262fc1983822a5c4d11fa26e2fe82008 (patch) | |
tree | adad56d63ab69375d5bf5c907702df37a46b4074 /drivers/staging/lustre/include/linux/lnet/lnetst.h | |
parent | ba0b6953b5c1ce686b86e2a1ce695f120a8ad177 (diff) | |
download | op-kernel-dev-f7a985a0262fc1983822a5c4d11fa26e2fe82008.zip op-kernel-dev-f7a985a0262fc1983822a5c4d11fa26e2fe82008.tar.gz |
staging: lustre: lnet: change srpc_counters_t to proper structure
Change srpc_counters_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 a9c5b6d..575d23a 100644 --- a/drivers/staging/lustre/include/linux/lnet/lnetst.h +++ b/drivers/staging/lustre/include/linux/lnet/lnetst.h @@ -501,7 +501,7 @@ struct lst_test_ping_param { int png_flags; /* reserved flags */ }; -typedef struct { +struct srpc_counters { __u32 errors; __u32 rpcs_sent; __u32 rpcs_rcvd; @@ -509,7 +509,7 @@ typedef struct { __u32 rpcs_expired; __u64 bulk_get; __u64 bulk_put; -} WIRE_ATTR srpc_counters_t; +} WIRE_ATTR; typedef struct { /** milliseconds since current session started */ |