Skip to content
Snippets Groups Projects
Commit 8c39a39e authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4: Fix a credential refcount leak in nfs41_check_delegation_stateid


It is unsafe to dereference delegation outside the rcu lock, and in
any case, the refcount is guaranteed held if cred is non-zero.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent e21a712a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment