diff options
Diffstat (limited to 'include/linux/nfs_fs.h')
-rw-r--r-- | include/linux/nfs_fs.h | 2 |
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) | |||
280 | static inline int nfs_verify_change_attribute(struct inode *inode, unsigned long chattr) | 280 | static 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 | /* |