]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit078a2f5f870a4dae0749c8ede1a7014c2284c65b
tree8f56444982927a527667e808220cb7fcc895c63d
parent69af00f291103da626eac34e160c0f2645f01570
NFS: Don't use RPC_TASK_CRED_NOREF with delegreturn

We are not guaranteed that the credential will remain pinned.

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