]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: nfs_access_get_cached_rcu() should use cred_fscmp()
authorTrond Myklebust <trondmy@gmail.com>
Sun, 26 Jan 2020 22:31:14 +0000 (17:31 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 3 Feb 2020 21:35:07 +0000 (16:35 -0500)
commitea3fbf59708e744452f6a34e7e615fd09d9bc82b
treedfcd2a750d3235bc407e08e02d2a221c6ec3e2bf
parent985d92c76ffdb4dcdaed418fd6b8cf4bb013dc6b
NFS: nfs_access_get_cached_rcu() should use cred_fscmp()

We do not need to have the rcu lookup method fail in the case where
the fsuid/fsgid and supplemental groups match.

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