NFS: Don't use RPC_TASK_CRED_NOREF with delegreturn
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 11 May 2020 14:42:04 +0000 (10:42 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 11 May 2020 18:06:51 +0000 (14:06 -0400)
commitf304a809a9f1eec23e023f3aae6c768a08495244
tree8f56444982927a527667e808220cb7fcc895c63d
parent2b666a110b493b3e8fbf561718ae794e13813651
NFS: Don't use RPC_TASK_CRED_NOREF with delegreturn

We are not guaranteed that the credential will remain pinned.

Fixes: 612965072020 ("NFSv4: Avoid referencing the cred unnecessarily during NFSv4 I/O")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4proc.c