aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/lnet/selftest/conrpc.c
diff options
context:
space:
mode:
authorJames Simmons <jsimmons@infradead.org>2017-01-16 16:30:11 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-19 11:10:15 +0100
commitef9114c2fe6a4e4f0e641f4c318a04a2a14ba87e (patch)
tree6f91279394790b806859556b18f144aee559b30c /drivers/staging/lustre/lnet/selftest/conrpc.c
parentstaging: lustre: lnet: change lstcon_test_batch_ent_t to proper structure (diff)
downloadlinux-dev-ef9114c2fe6a4e4f0e641f4c318a04a2a14ba87e.tar.xz
linux-dev-ef9114c2fe6a4e4f0e641f4c318a04a2a14ba87e.zip
staging: lustre: lnet: change lstcon_rpc_ent_t to proper structure
Change lstcon_rpc_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/lnet/selftest/conrpc.c')
-rw-r--r--drivers/staging/lustre/lnet/selftest/conrpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/lustre/lnet/selftest/conrpc.c b/drivers/staging/lustre/lnet/selftest/conrpc.c
index 84ae01091b61..bc924f9e8727 100644
--- a/drivers/staging/lustre/lnet/selftest/conrpc.c
+++ b/drivers/staging/lustre/lnet/selftest/conrpc.c
@@ -469,7 +469,7 @@ lstcon_rpc_trans_interpreter(struct lstcon_rpc_trans *trans,
{
struct list_head tmp;
struct list_head __user *next;
- lstcon_rpc_ent_t *ent;
+ struct lstcon_rpc_ent *ent;
struct srpc_generic_reply *rep;
struct lstcon_rpc *crpc;
struct srpc_msg *msg;
@@ -492,7 +492,7 @@ lstcon_rpc_trans_interpreter(struct lstcon_rpc_trans *trans,
next = tmp.next;
- ent = list_entry(next, lstcon_rpc_ent_t, rpe_link);
+ ent = list_entry(next, struct lstcon_rpc_ent, rpe_link);
LASSERT(crpc->crp_stamp);