diff options
Diffstat (limited to 'include/linux/nfs_fs.h')
-rw-r--r-- | include/linux/nfs_fs.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 1161725d75e1..b71da4d4b137 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h | |||
@@ -119,8 +119,7 @@ struct nfs_inode { | |||
119 | unsigned long cache_validity; /* bit mask */ | 119 | unsigned long cache_validity; /* bit mask */ |
120 | 120 | ||
121 | /* | 121 | /* |
122 | * read_cache_jiffies is when we started read-caching this inode, | 122 | * read_cache_jiffies is when we started read-caching this inode. |
123 | * and read_cache_mtime is the mtime of the inode at that time. | ||
124 | * attrtimeo is for how long the cached information is assumed | 123 | * attrtimeo is for how long the cached information is assumed |
125 | * to be valid. A successful attribute revalidation doubles | 124 | * to be valid. A successful attribute revalidation doubles |
126 | * attrtimeo (up to acregmax/acdirmax), a failure resets it to | 125 | * attrtimeo (up to acregmax/acdirmax), a failure resets it to |
@@ -129,11 +128,6 @@ struct nfs_inode { | |||
129 | * We need to revalidate the cached attrs for this inode if | 128 | * We need to revalidate the cached attrs for this inode if |
130 | * | 129 | * |
131 | * jiffies - read_cache_jiffies > attrtimeo | 130 | * jiffies - read_cache_jiffies > attrtimeo |
132 | * | ||
133 | * and invalidate any cached data/flush out any dirty pages if | ||
134 | * we find that | ||
135 | * | ||
136 | * mtime != read_cache_mtime | ||
137 | */ | 131 | */ |
138 | unsigned long read_cache_jiffies; | 132 | unsigned long read_cache_jiffies; |
139 | unsigned long attrtimeo; | 133 | unsigned long attrtimeo; |