summaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/include/linux/lnet/lnetst.h
diff options
context:
space:
mode:
authorJames Simmons <jsimmons@infradead.org>2017-01-16 16:30:32 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-19 11:12:53 +0100
commit538a92698a0e63f497c7752f626e2b4c76fcf98f (patch)
tree2659bb48326b9b636e0c8504e4098547452a0f16 /drivers/staging/lustre/include/linux/lnet/lnetst.h
parente7f8efc4b436b970e49434b414575f5c15378c3c (diff)
downloadop-kernel-dev-538a92698a0e63f497c7752f626e2b4c76fcf98f.zip
op-kernel-dev-538a92698a0e63f497c7752f626e2b4c76fcf98f.tar.gz
staging: lustre: lnet: change lstio_test_args_t to proper structure
Change lstio_test_args_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.h4
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 495cc01..fdab4b6 100644
--- a/drivers/staging/lustre/include/linux/lnet/lnetst.h
+++ b/drivers/staging/lustre/include/linux/lnet/lnetst.h
@@ -442,7 +442,7 @@ enum lst_test_type {
/* create a test in a batch */
#define LST_MAX_CONCUR 1024 /* Max concurrency of test */
-typedef struct {
+struct lstio_test_args {
int lstio_tes_key; /* IN: session key */
int lstio_tes_bat_nmlen; /* IN: batch name len */
char __user *lstio_tes_bat_name; /* IN: batch name */
@@ -472,7 +472,7 @@ typedef struct {
value */
struct list_head __user *lstio_tes_resultp;/* OUT: list head of
result buffer */
-} lstio_test_args_t;
+};
typedef enum {
LST_BRW_READ = 1,
OpenPOWER on IntegriCloud