summaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2011-11-10 14:30:37 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-11-10 14:50:26 -0500
commit62e4a76987eab2b7fa952546614bc83e5bfc9d3e (patch)
tree433ab5bde90a8d2dbeeabc29a6aa0c25deae5732 /fs/nfs/internal.h
parent2aa13531bbbc6582874bedfcd853e1058b0fb4f9 (diff)
downloadlinux-62e4a76987eab2b7fa952546614bc83e5bfc9d3e.tar.gz
linux-62e4a76987eab2b7fa952546614bc83e5bfc9d3e.tar.bz2
linux-62e4a76987eab2b7fa952546614bc83e5bfc9d3e.zip
NFS: Revert pnfs ugliness from the generic NFS read code path
pNFS-specific code belongs in the pnfs layer. It should not be hijacking generic NFS read or write code paths. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r--fs/nfs/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h
index c1a1bd8ddf1c..3f4d95751d52 100644
--- a/fs/nfs/internal.h
+++ b/fs/nfs/internal.h
@@ -299,6 +299,8 @@ extern void nfs_read_prepare(struct rpc_task *task, void *calldata);
extern int nfs_generic_pagein(struct nfs_pageio_descriptor *desc,
struct list_head *head);
+extern void nfs_pageio_init_read_mds(struct nfs_pageio_descriptor *pgio,
+ struct inode *inode);
extern void nfs_pageio_reset_read_mds(struct nfs_pageio_descriptor *pgio);
extern void nfs_readdata_release(struct nfs_read_data *rdata);