NFS: Fix atime revalidation in read()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 28 Sep 2007 21:20:07 +0000 (17:20 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 9 Oct 2007 21:19:06 +0000 (17:19 -0400)
commit8850df999cd16aa141098e2e8be04a590276f3cc
treede5d934bff3ae6595dcfcf6d725dd991bb242f21
parentc4812998398d9cbce8646494704c52297359ede0
NFS: Fix atime revalidation in read()

NFSv3 will correctly update atime on a read() call, so there is no need to
set the NFS_INO_INVALID_ATIME flag unless the call to nfs_refresh_inode()
fails.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs3proc.c
fs/nfs/nfs4proc.c
fs/nfs/proc.c
fs/nfs/read.c