summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGoldwyn Rodrigues <rgoldwyn@gmail.com>2006-03-20 13:44:11 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-03-20 13:44:11 -0500
commit24bd68f46b1ad08d69bf32779f860df867780a7a (patch)
tree276d338a4de69ffc8d93ec22b0154a389081455e
parentc9d5128a10a4974f72674ff3463da4db439e8b04 (diff)
downloadop-kernel-dev-24bd68f46b1ad08d69bf32779f860df867780a7a.zip
op-kernel-dev-24bd68f46b1ad08d69bf32779f860df867780a7a.tar.gz
NFS: Code comments update in NFS
read_cache_mtime is no longer used in nfs_inode. This patch removes references of read_cache_mtime in the code comments. Signed-off-by: Goldwyn Rodrigues <rgoldwyn@gmail.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
-rw-r--r--include/linux/nfs_fs.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h
index 1161725..b71da4d 100644
--- a/include/linux/nfs_fs.h
+++ b/include/linux/nfs_fs.h
@@ -119,8 +119,7 @@ struct nfs_inode {
unsigned long cache_validity; /* bit mask */
/*
- * read_cache_jiffies is when we started read-caching this inode,
- * and read_cache_mtime is the mtime of the inode at that time.
+ * read_cache_jiffies is when we started read-caching this inode.
* attrtimeo is for how long the cached information is assumed
* to be valid. A successful attribute revalidation doubles
* attrtimeo (up to acregmax/acdirmax), a failure resets it to
@@ -129,11 +128,6 @@ struct nfs_inode {
* We need to revalidate the cached attrs for this inode if
*
* jiffies - read_cache_jiffies > attrtimeo
- *
- * and invalidate any cached data/flush out any dirty pages if
- * we find that
- *
- * mtime != read_cache_mtime
*/
unsigned long read_cache_jiffies;
unsigned long attrtimeo;
OpenPOWER on IntegriCloud