SUNRPC: Don't take a reference to the cred on synchronous tasks
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 8 Feb 2020 00:16:34 +0000 (19:16 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 16 Mar 2020 12:34:29 +0000 (08:34 -0400)
commit263fb9c21e7a86e8e373a23edfa82700422f5e6a
tree715aa153fa71ce81925ea7ac8f4393b25ae5dd89
parent7eac52648a4c24ad23a05f62db97867c92a5747b
SUNRPC: Don't take a reference to the cred on synchronous tasks

If the RPC call is synchronous, assume the cred is already pinned
by the caller.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/clnt.c