mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-16 18:08:20 +00:00
[PATCH] NFS: Remove unused NFS inode field readdir_timestamp.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
4ce79717ce
commit
a656db9987
@ -165,12 +165,10 @@ int nfs_readdir_filler(nfs_readdir_descriptor_t *desc, struct page *page)
|
|||||||
NFS_FLAGS(inode) |= NFS_INO_INVALID_ATIME;
|
NFS_FLAGS(inode) |= NFS_INO_INVALID_ATIME;
|
||||||
/* Ensure consistent page alignment of the data.
|
/* Ensure consistent page alignment of the data.
|
||||||
* Note: assumes we have exclusive access to this mapping either
|
* Note: assumes we have exclusive access to this mapping either
|
||||||
* throught inode->i_sem or some other mechanism.
|
* through inode->i_sem or some other mechanism.
|
||||||
*/
|
*/
|
||||||
if (page->index == 0) {
|
if (page->index == 0)
|
||||||
invalidate_inode_pages(inode->i_mapping);
|
invalidate_inode_pages2_range(inode->i_mapping, PAGE_CACHE_SIZE, -1);
|
||||||
NFS_I(inode)->readdir_timestamp = timestamp;
|
|
||||||
}
|
|
||||||
unlock_page(page);
|
unlock_page(page);
|
||||||
return 0;
|
return 0;
|
||||||
error:
|
error:
|
||||||
|
@ -128,7 +128,6 @@ struct nfs_inode {
|
|||||||
*
|
*
|
||||||
* mtime != read_cache_mtime
|
* mtime != read_cache_mtime
|
||||||
*/
|
*/
|
||||||
unsigned long readdir_timestamp;
|
|
||||||
unsigned long read_cache_jiffies;
|
unsigned long read_cache_jiffies;
|
||||||
unsigned long attrtimeo;
|
unsigned long attrtimeo;
|
||||||
unsigned long attrtimeo_timestamp;
|
unsigned long attrtimeo_timestamp;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user