commit | d2ae4f8b21c111bb795c557588d89dccd005828d | [log] [tgz] |
---|---|---|
author | Frank van der Linden <fllinden@amazon.com> | Tue Jun 23 22:38:57 2020 +0000 |
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | Mon Jul 13 17:52:45 2020 -0400 |
tree | 935109b6876bfbb675a4e8ddc0b0959ea0338eca | |
parent | 3e1f02123fba086d32dfd5729e6f4e2b54654acc [diff] |
nfs: define nfs_access_get_cached function The only consumer of nfs_access_get_cached_rcu and nfs_access_cached calls these static functions in order to first try RCU access, and then locked access. Combine them in to a single function, and call that. Make this function available to the rest of the NFS code. Signed-off-by: Frank van der Linden <fllinden@amazon.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>