staging: lustre: lnet: change lstcon_test_ent_t to proper structure
Change lstcon_test_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>
This commit is contained in:
parent
652c3076dd
commit
b38531271a
|
@ -98,11 +98,11 @@ struct lstcon_ndlist_ent {
|
||||||
int nle_nunknown; /* # of unknown nodes */
|
int nle_nunknown; /* # of unknown nodes */
|
||||||
}; /*** node_list entry, for list_batch command */
|
}; /*** node_list entry, for list_batch command */
|
||||||
|
|
||||||
typedef struct {
|
struct lstcon_test_ent {
|
||||||
int tse_type; /* test type */
|
int tse_type; /* test type */
|
||||||
int tse_loop; /* loop count */
|
int tse_loop; /* loop count */
|
||||||
int tse_concur; /* concurrency of test */
|
int tse_concur; /* concurrency of test */
|
||||||
} lstcon_test_ent_t; /*** test summary entry, for
|
}; /*** test summary entry, for
|
||||||
*** list_batch command */
|
*** list_batch command */
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
@ -118,7 +118,7 @@ typedef struct {
|
||||||
struct lstcon_ndlist_ent tbe_srv_nle; /* server (group) node_list
|
struct lstcon_ndlist_ent tbe_srv_nle; /* server (group) node_list
|
||||||
* entry */
|
* entry */
|
||||||
union {
|
union {
|
||||||
lstcon_test_ent_t tbe_test; /* test entry */
|
struct lstcon_test_ent tbe_test; /* test entry */
|
||||||
lstcon_batch_ent_t tbe_batch; /* batch entry */
|
lstcon_batch_ent_t tbe_batch; /* batch entry */
|
||||||
} u;
|
} u;
|
||||||
} lstcon_test_batch_ent_t; /*** test/batch verbose information entry,
|
} lstcon_test_batch_ent_t; /*** test/batch verbose information entry,
|
||||||
|
|
Loading…
Reference in a new issue