Skip to content
Commit 34751b9d authored by Trond Myklebust's avatar Trond Myklebust
Browse files

SUNRPC: Add correct rcu_dereference annotation in rpc_clnt_set_transport



rpc_clnt_set_transport should use rcu_derefence_protected(), as it is
only safe to be called with the rpc_clnt::cl_lock held.

Cc: Chuck Lever <Chuck.Lever@oracle.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 4d4b69dd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment