NFSv4: pnfs_roc() must use cred_fscmp() to compare creds
authorTrond Myklebust <trondmy@gmail.com>
Sun, 26 Jan 2020 22:31:13 +0000 (17:31 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 3 Feb 2020 21:35:07 +0000 (16:35 -0500)
commit387122478775be5d9816c34aa29de53d0b926835
treee4f8981cc6dde19b64cb6213ade3aeab0d58b5ba
parentc0399cf668a2a1b7310dbedd424f6a4b60aabffc
NFSv4: pnfs_roc() must use cred_fscmp() to compare creds

When comparing two 'struct cred' for equality w.r.t. behaviour under
filesystem access, we need to use cred_fscmp().

Fixes: a52458b48af1 ("NFS/NFSD/SUNRPC: replace generic creds with 'struct cred'.")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/pnfs.c