Commit 5e9a7b9
Trond Myklebust
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: Trond Myklebust <[email protected]>1 parent 029085b commit 5e9a7b9
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2957 | 2957 | | |
2958 | 2958 | | |
2959 | 2959 | | |
| 2960 | + | |
2960 | 2961 | | |
2961 | 2962 | | |
2962 | 2963 | | |
2963 | 2964 | | |
2964 | 2965 | | |
2965 | | - | |
| 2966 | + | |
| 2967 | + | |
2966 | 2968 | | |
2967 | 2969 | | |
2968 | 2970 | | |
| |||
0 commit comments