mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
NFS: Convert cache_change_attribute into a jiffy-based value
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
0e574af1be
commit
913a70fc17
2 changed files with 5 additions and 5 deletions
|
|
@ -280,7 +280,7 @@ static inline long nfs_save_change_attribute(struct inode *inode)
|
|||
static inline int nfs_verify_change_attribute(struct inode *inode, unsigned long chattr)
|
||||
{
|
||||
return !nfs_caches_unstable(inode)
|
||||
&& chattr == NFS_I(inode)->cache_change_attribute;
|
||||
&& time_after_eq(chattr, NFS_I(inode)->cache_change_attribute);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue