···165165 NFS_FLAGS(inode) |= NFS_INO_INVALID_ATIME;166166 /* Ensure consistent page alignment of the data.167167 * Note: assumes we have exclusive access to this mapping either168168- * throught inode->i_sem or some other mechanism.168168+ * through inode->i_sem or some other mechanism.169169 */170170- if (page->index == 0) {171171- invalidate_inode_pages(inode->i_mapping);172172- NFS_I(inode)->readdir_timestamp = timestamp;173173- }170170+ if (page->index == 0)171171+ invalidate_inode_pages2_range(inode->i_mapping, PAGE_CACHE_SIZE, -1);174172 unlock_page(page);175173 return 0;176174 error:
-1
include/linux/nfs_fs.h
···128128 *129129 * mtime != read_cache_mtime130130 */131131- unsigned long readdir_timestamp;132131 unsigned long read_cache_jiffies;133132 unsigned long attrtimeo;134133 unsigned long attrtimeo_timestamp;