diff options
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r-- | fs/nfs/internal.h | 9 |
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 *); | |||
241 | void nfs_rw_header_free(struct nfs_pgio_header *); | 241 | void nfs_rw_header_free(struct nfs_pgio_header *); |
242 | void nfs_pgio_data_release(struct nfs_pgio_data *); | 242 | void nfs_pgio_data_release(struct nfs_pgio_data *); |
243 | int nfs_generic_pgio(struct nfs_pageio_descriptor *, struct nfs_pgio_header *); | 243 | int nfs_generic_pgio(struct nfs_pageio_descriptor *, struct nfs_pgio_header *); |
244 | int nfs_initiate_pgio(struct rpc_clnt *, struct nfs_pgio_data *, | ||
245 | const struct rpc_call_ops *, int, int); | ||
244 | 246 | ||
245 | static inline void nfs_iocounter_init(struct nfs_io_counter *c) | 247 | static inline void nfs_iocounter_init(struct nfs_io_counter *c) |
246 | { | 248 | { |
@@ -402,9 +404,6 @@ struct nfs_pgio_completion_ops; | |||
402 | extern void nfs_pageio_init_read(struct nfs_pageio_descriptor *pgio, | 404 | extern 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); |
405 | extern int nfs_initiate_read(struct rpc_clnt *clnt, | ||
406 | struct nfs_pgio_data *data, | ||
407 | const struct rpc_call_ops *call_ops, int flags); | ||
408 | extern void nfs_read_prepare(struct rpc_task *task, void *calldata); | 407 | extern void nfs_read_prepare(struct rpc_task *task, void *calldata); |
409 | extern void nfs_pageio_reset_read_mds(struct nfs_pageio_descriptor *pgio); | 408 | extern 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); |
426 | extern void nfs_pageio_reset_write_mds(struct nfs_pageio_descriptor *pgio); | 425 | extern void nfs_pageio_reset_write_mds(struct nfs_pageio_descriptor *pgio); |
427 | extern void nfs_commit_free(struct nfs_commit_data *p); | 426 | extern void nfs_commit_free(struct nfs_commit_data *p); |
428 | extern 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); | ||
432 | extern void nfs_write_prepare(struct rpc_task *task, void *calldata); | 427 | extern void nfs_write_prepare(struct rpc_task *task, void *calldata); |
433 | extern void nfs_commit_prepare(struct rpc_task *task, void *calldata); | 428 | extern void nfs_commit_prepare(struct rpc_task *task, void *calldata); |
434 | extern int nfs_initiate_commit(struct rpc_clnt *clnt, | 429 | extern int nfs_initiate_commit(struct rpc_clnt *clnt, |