summaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2016-09-15 18:26:05 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2016-09-27 14:35:36 -0400
commitbfc505ded01e3c57d12c6f939f352200655d8635 (patch)
tree0f830bf3f57aa443692ea062a5c642c086e410dd /fs/nfs/internal.h
parent77b00bc037e7c58d7a4ef791d1c7eeaf6f7a43e3 (diff)
downloadop-kernel-dev-bfc505ded01e3c57d12c6f939f352200655d8635.zip
op-kernel-dev-bfc505ded01e3c57d12c6f939f352200655d8635.tar.gz
pNFS: Fix atime updates on pNFS clients
Fix the code so that we always mark the atime as invalid in nfs4_read_done(). Currently, the expectation appears to be that the pNFS drivers should always do this, with the result that most of them don't. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r--fs/nfs/internal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h
index 4f0b2db..512b776 100644
--- a/fs/nfs/internal.h
+++ b/fs/nfs/internal.h
@@ -560,7 +560,6 @@ void nfs_init_cinfo_from_dreq(struct nfs_commit_info *cinfo,
extern ssize_t nfs_dreq_bytes_left(struct nfs_direct_req *dreq);
/* nfs4proc.c */
-extern void __nfs4_read_done_cb(struct nfs_pgio_header *);
extern struct nfs_client *nfs4_init_client(struct nfs_client *clp,
const struct nfs_client_initdata *);
extern int nfs40_walk_client_list(struct nfs_client *clp,
OpenPOWER on IntegriCloud