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:09 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-19 11:10:15 +0100
commit55442b5153ef341793442921017aec3193234b30 (patch)
tree34a889e46e7c6e5cb32bcf0cb104fd7e7d26069f /drivers/staging/lustre/include/linux/lnet/lnetst.h
parentb38531271acdfc5054694b1838f2cefb23a82005 (diff)
downloadop-kernel-dev-55442b5153ef341793442921017aec3193234b30.zip
op-kernel-dev-55442b5153ef341793442921017aec3193234b30.tar.gz
staging: lustre: lnet: change lstcon_batch_ent_t to proper structure
Change lstcon_batch_ent_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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/lustre/include/linux/lnet/lnetst.h b/drivers/staging/lustre/include/linux/lnet/lnetst.h
index f197eb3..f2b98e9 100644
--- a/drivers/staging/lustre/include/linux/lnet/lnetst.h
+++ b/drivers/staging/lustre/include/linux/lnet/lnetst.h
@@ -105,11 +105,11 @@ struct lstcon_test_ent {
}; /*** test summary entry, for
*** list_batch command */
-typedef struct {
+struct lstcon_batch_ent {
int bae_state; /* batch status */
int bae_timeout; /* batch timeout */
int bae_ntest; /* # of tests in the batch */
-} lstcon_batch_ent_t; /*** batch summary entry, for
+}; /*** batch summary entry, for
*** list_batch command */
typedef struct {
@@ -119,7 +119,7 @@ typedef struct {
* entry */
union {
struct lstcon_test_ent tbe_test; /* test entry */
- lstcon_batch_ent_t tbe_batch; /* batch entry */
+ struct lstcon_batch_ent tbe_batch;/* batch entry */
} u;
} lstcon_test_batch_ent_t; /*** test/batch verbose information entry,
*** for list_batch command */
OpenPOWER on IntegriCloud