- cfs_list_t tmp;
- cfs_list_t *next;
- lstcon_rpc_ent_t *ent;
- srpc_generic_reply_t *rep;
- lstcon_rpc_t *crpc;
- srpc_msg_t *msg;
- lstcon_node_t *nd;
- cfs_duration_t dur;
- struct timeval tv;
- int error;
-
- LASSERT (head_up != NULL);
-
- next = head_up;
-
- cfs_list_for_each_entry_typed(crpc, &trans->tas_rpcs_list,
- lstcon_rpc_t, crp_link) {
+ struct list_head tmp;
+ struct list_head __user *next;
+ struct lstcon_rpc_ent *ent;
+ struct srpc_generic_reply *rep;
+ struct lstcon_rpc *crpc;
+ struct srpc_msg *msg;
+ struct lstcon_node *nd;
+ struct timespec64 ts;
+ int error;
+ s64 dur;
+
+ LASSERT(head_up != NULL);
+
+ next = head_up;
+
+ list_for_each_entry(crpc, &trans->tas_rpcs_list, crp_link) {