Skip to content
Commit 5e9a7b9c authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Fix up a sparse warning



sparse is warning about an incorrect RCU dereference.
fs/nfs/dir.c:2965:56: warning: incorrect type in argument 1 (different address spaces)
fs/nfs/dir.c:2965:56:    expected struct cred const *
fs/nfs/dir.c:2965:56:    got struct cred const [noderef] __rcu *const cred

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 029085b8
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