aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/read.c')
-rw-r--r--fs/nfs/read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/read.c b/fs/nfs/read.c
index 6f866b8aa2d5..90df0500ca1b 100644
--- a/fs/nfs/read.c
+++ b/fs/nfs/read.c
@@ -140,7 +140,7 @@ static int nfs_readpage_sync(struct nfs_open_context *ctx, struct inode *inode,
140 if (rdata->res.eof != 0 || result == 0) 140 if (rdata->res.eof != 0 || result == 0)
141 break; 141 break;
142 } while (count); 142 } while (count);
143 NFS_FLAGS(inode) |= NFS_INO_INVALID_ATIME; 143 NFS_I(inode)->cache_validity |= NFS_INO_INVALID_ATIME;
144 144
145 if (count) 145 if (count)
146 memclear_highpage_flush(page, rdata->args.pgbase, count); 146 memclear_highpage_flush(page, rdata->args.pgbase, count);
@@ -473,7 +473,7 @@ void nfs_readpage_result(struct rpc_task *task)
473 } 473 }
474 task->tk_status = -EIO; 474 task->tk_status = -EIO;
475 } 475 }
476 NFS_FLAGS(data->inode) |= NFS_INO_INVALID_ATIME; 476 NFS_I(data->inode)->cache_validity |= NFS_INO_INVALID_ATIME;
477 data->complete(data, status); 477 data->complete(data, status);
478} 478}
479 479