summaryrefslogtreecommitdiff
path: root/fs/nfs/nfstrace.c
diff options
context:
space:
mode:
authorFrank van der Linden <fllinden@amazon.com>2020-06-23 22:38:57 +0000
committerTrond Myklebust <trond.myklebust@hammerspace.com>2020-07-13 17:52:45 -0400
commitd2ae4f8b21c111bb795c557588d89dccd005828d (patch)
tree935109b6876bfbb675a4e8ddc0b0959ea0338eca /fs/nfs/nfstrace.c
parent3e1f02123fba086d32dfd5729e6f4e2b54654acc (diff)
downloadlinux-d2ae4f8b21c111bb795c557588d89dccd005828d.tar.gz
linux-d2ae4f8b21c111bb795c557588d89dccd005828d.tar.bz2
linux-d2ae4f8b21c111bb795c557588d89dccd005828d.zip
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>
Diffstat (limited to 'fs/nfs/nfstrace.c')
0 files changed, 0 insertions, 0 deletions