aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfs_fs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h
index 8f632bd854af..992931cd301e 100644
--- a/include/linux/nfs_fs.h
+++ b/include/linux/nfs_fs.h
@@ -240,6 +240,11 @@ static inline int NFS_USE_READDIRPLUS(struct inode *inode)
240 return test_bit(NFS_INO_ADVISE_RDPLUS, &NFS_FLAGS(inode)); 240 return test_bit(NFS_INO_ADVISE_RDPLUS, &NFS_FLAGS(inode));
241} 241}
242 242
243static inline void nfs_set_verifier(struct dentry * dentry, unsigned long verf)
244{
245 dentry->d_time = verf;
246}
247
243/** 248/**
244 * nfs_save_change_attribute - Returns the inode attribute change cookie 249 * nfs_save_change_attribute - Returns the inode attribute change cookie
245 * @dir - pointer to parent directory inode 250 * @dir - pointer to parent directory inode