Skip to content

Commit

Permalink
NFS: Code comments update in NFS
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Goldwyn Rodrigues authored and Trond Myklebust committed Mar 20, 2006
1 parent c9d5128 commit 24bd68f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions include/linux/nfs_fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;
Expand Down

0 comments on commit 24bd68f

Please sign in to comment.