aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r--fs/nfs/internal.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h
index 365cdb11d0de..be4f2a7e9178 100644
--- a/fs/nfs/internal.h
+++ b/fs/nfs/internal.h
@@ -241,6 +241,8 @@ struct nfs_rw_header *nfs_rw_header_alloc(const struct nfs_rw_ops *);
241void nfs_rw_header_free(struct nfs_pgio_header *); 241void nfs_rw_header_free(struct nfs_pgio_header *);
242void nfs_pgio_data_release(struct nfs_pgio_data *); 242void nfs_pgio_data_release(struct nfs_pgio_data *);
243int nfs_generic_pgio(struct nfs_pageio_descriptor *, struct nfs_pgio_header *); 243int nfs_generic_pgio(struct nfs_pageio_descriptor *, struct nfs_pgio_header *);
244int nfs_initiate_pgio(struct rpc_clnt *, struct nfs_pgio_data *,
245 const struct rpc_call_ops *, int, int);
244 246
245static inline void nfs_iocounter_init(struct nfs_io_counter *c) 247static inline void nfs_iocounter_init(struct nfs_io_counter *c)
246{ 248{
@@ -402,9 +404,6 @@ struct nfs_pgio_completion_ops;
402extern void nfs_pageio_init_read(struct nfs_pageio_descriptor *pgio, 404extern void nfs_pageio_init_read(struct nfs_pageio_descriptor *pgio,
403 struct inode *inode, bool force_mds, 405 struct inode *inode, bool force_mds,
404 const struct nfs_pgio_completion_ops *compl_ops); 406 const struct nfs_pgio_completion_ops *compl_ops);
405extern int nfs_initiate_read(struct rpc_clnt *clnt,
406 struct nfs_pgio_data *data,
407 const struct rpc_call_ops *call_ops, int flags);
408extern void nfs_read_prepare(struct rpc_task *task, void *calldata); 407extern void nfs_read_prepare(struct rpc_task *task, void *calldata);
409extern void nfs_pageio_reset_read_mds(struct nfs_pageio_descriptor *pgio); 408extern void nfs_pageio_reset_read_mds(struct nfs_pageio_descriptor *pgio);
410 409
@@ -425,10 +424,6 @@ extern void nfs_pageio_init_write(struct nfs_pageio_descriptor *pgio,
425 const struct nfs_pgio_completion_ops *compl_ops); 424 const struct nfs_pgio_completion_ops *compl_ops);
426extern void nfs_pageio_reset_write_mds(struct nfs_pageio_descriptor *pgio); 425extern void nfs_pageio_reset_write_mds(struct nfs_pageio_descriptor *pgio);
427extern void nfs_commit_free(struct nfs_commit_data *p); 426extern void nfs_commit_free(struct nfs_commit_data *p);
428extern int nfs_initiate_write(struct rpc_clnt *clnt,
429 struct nfs_pgio_data *data,
430 const struct rpc_call_ops *call_ops,
431 int how, int flags);
432extern void nfs_write_prepare(struct rpc_task *task, void *calldata); 427extern void nfs_write_prepare(struct rpc_task *task, void *calldata);
433extern void nfs_commit_prepare(struct rpc_task *task, void *calldata); 428extern void nfs_commit_prepare(struct rpc_task *task, void *calldata);
434extern int nfs_initiate_commit(struct rpc_clnt *clnt, 429extern int nfs_initiate_commit(struct rpc_clnt *clnt,