SUNRPC: Fix null rpc_clnt dereference in rpc_task_queued tracepoint
authorBenjamin Coddington <bcodding@redhat.com>
Tue, 23 Jan 2018 14:32:35 +0000 (09:32 -0500)
committerTrond Myklebust <trondmy@gmail.com>
Tue, 23 Jan 2018 18:18:11 +0000 (13:18 -0500)
commit0be283f676a1e7b208db0c992283197ef8b52158
tree9a11d84498cee0462ee7f212d9fd78057fa58156
parent49686cbbb3ebafe42e63868222f269d8053ead00
SUNRPC: Fix null rpc_clnt dereference in rpc_task_queued tracepoint

Backchannel tasks will not have a reference to the rpc_clnt.  Return -1 for
cl_clid in that case.

Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trondmy@gmail.com>
include/trace/events/sunrpc.h