aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/inode.c
diff options
context:
space:
mode:
authorScott Mayhew <smayhew@redhat.com>2013-07-05 17:49:30 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-07-09 17:17:07 -0400
commit43f291cd0754f8f10c2cd701e014936f708dab59 (patch)
tree7d7329a6af1adf5368e330c25e9395e7b0a74cba /fs/nfs/inode.c
parent76fa66657900071016f2bae61de28f059f3f2abf (diff)
NFS: Make nfs_attribute_cache_expired() non-static
NFS: Make nfs_attribute_cache_expired() non-static so we can call it from nfs_readdir(). Signed-off-by: Scott Mayhew <smayhew@redhat.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/inode.c')
-rw-r--r--fs/nfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c
index c93639e6cf68..af6e806044d7 100644
--- a/fs/nfs/inode.c
+++ b/fs/nfs/inode.c
@@ -936,7 +936,7 @@ int nfs_attribute_timeout(struct inode *inode)
936 return !time_in_range_open(jiffies, nfsi->read_cache_jiffies, nfsi->read_cache_jiffies + nfsi->attrtimeo); 936 return !time_in_range_open(jiffies, nfsi->read_cache_jiffies, nfsi->read_cache_jiffies + nfsi->attrtimeo);
937} 937}
938 938
939static int nfs_attribute_cache_expired(struct inode *inode) 939int nfs_attribute_cache_expired(struct inode *inode)
940{ 940{
941 if (nfs_have_delegated_attributes(inode)) 941 if (nfs_have_delegated_attributes(inode))
942 return 0; 942 return 0;