OSDN Git Service

NFS: nfs_find_open_context() should use cred_fscmp()
authorTrond Myklebust <trondmy@gmail.com>
Sun, 26 Jan 2020 22:31:15 +0000 (17:31 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 3 Feb 2020 21:35:07 +0000 (16:35 -0500)
commit65f5160376212094b477c7309ba9867e69ec69d5
treef709786dc6aeeadc2b6d6ca8db228f611e8ec45d
parent9a206de2ea878f4502e86b81c0d7eb9b651bde82
NFS: nfs_find_open_context() should use cred_fscmp()

We want to find open contexts that match our filesystem access
properties. They don't have to exactly match the cred.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/inode.c