diff options
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r-- | fs/nfs/internal.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index d1ddc23c404d..708705062216 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h | |||
@@ -276,11 +276,25 @@ extern int nfs_initiate_read(struct nfs_read_data *data, struct rpc_clnt *clnt, | |||
276 | extern void nfs_read_prepare(struct rpc_task *task, void *calldata); | 276 | extern void nfs_read_prepare(struct rpc_task *task, void *calldata); |
277 | 277 | ||
278 | /* write.c */ | 278 | /* write.c */ |
279 | extern void nfs_commit_free(struct nfs_write_data *p); | ||
279 | extern int nfs_initiate_write(struct nfs_write_data *data, | 280 | extern int nfs_initiate_write(struct nfs_write_data *data, |
280 | struct rpc_clnt *clnt, | 281 | struct rpc_clnt *clnt, |
281 | const struct rpc_call_ops *call_ops, | 282 | const struct rpc_call_ops *call_ops, |
282 | int how); | 283 | int how); |
283 | extern void nfs_write_prepare(struct rpc_task *task, void *calldata); | 284 | extern void nfs_write_prepare(struct rpc_task *task, void *calldata); |
285 | extern int nfs_initiate_commit(struct nfs_write_data *data, | ||
286 | struct rpc_clnt *clnt, | ||
287 | const struct rpc_call_ops *call_ops, | ||
288 | int how); | ||
289 | extern void nfs_init_commit(struct nfs_write_data *data, | ||
290 | struct list_head *head, | ||
291 | struct pnfs_layout_segment *lseg); | ||
292 | void nfs_retry_commit(struct list_head *page_list, | ||
293 | struct pnfs_layout_segment *lseg); | ||
294 | void nfs_commit_clear_lock(struct nfs_inode *nfsi); | ||
295 | void nfs_commitdata_release(void *data); | ||
296 | void nfs_commit_release_pages(struct nfs_write_data *data); | ||
297 | |||
284 | #ifdef CONFIG_MIGRATION | 298 | #ifdef CONFIG_MIGRATION |
285 | extern int nfs_migrate_page(struct address_space *, | 299 | extern int nfs_migrate_page(struct address_space *, |
286 | struct page *, struct page *); | 300 | struct page *, struct page *); |