aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2005-10-27 22:12:38 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2005-10-27 22:12:38 -0400
commit913a70fc170530f7e1ff0693595155457cc6d0ca (patch)
tree1f3d5db26462d02ecca383794b3061a5eae8d9cc /include
parent0e574af1be5f569a5d7f2800333b0bfb358a5e34 (diff)
NFS: Convert cache_change_attribute into a jiffy-based value
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfs_fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h
index 8120fd68dee5..abf890f5fbfb 100644
--- a/include/linux/nfs_fs.h
+++ b/include/linux/nfs_fs.h
@@ -280,7 +280,7 @@ static inline long nfs_save_change_attribute(struct inode *inode)
280static inline int nfs_verify_change_attribute(struct inode *inode, unsigned long chattr) 280static inline int nfs_verify_change_attribute(struct inode *inode, unsigned long chattr)
281{ 281{
282 return !nfs_caches_unstable(inode) 282 return !nfs_caches_unstable(inode)
283 && chattr == NFS_I(inode)->cache_change_attribute; 283 && time_after_eq(chattr, NFS_I(inode)->cache_change_attribute);
284} 284}
285 285
286/* 286/*