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.h14
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,
276extern void nfs_read_prepare(struct rpc_task *task, void *calldata); 276extern void nfs_read_prepare(struct rpc_task *task, void *calldata);
277 277
278/* write.c */ 278/* write.c */
279extern void nfs_commit_free(struct nfs_write_data *p);
279extern int nfs_initiate_write(struct nfs_write_data *data, 280extern 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);
283extern void nfs_write_prepare(struct rpc_task *task, void *calldata); 284extern void nfs_write_prepare(struct rpc_task *task, void *calldata);
285extern 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);
289extern void nfs_init_commit(struct nfs_write_data *data,
290 struct list_head *head,
291 struct pnfs_layout_segment *lseg);
292void nfs_retry_commit(struct list_head *page_list,
293 struct pnfs_layout_segment *lseg);
294void nfs_commit_clear_lock(struct nfs_inode *nfsi);
295void nfs_commitdata_release(void *data);
296void nfs_commit_release_pages(struct nfs_write_data *data);
297
284#ifdef CONFIG_MIGRATION 298#ifdef CONFIG_MIGRATION
285extern int nfs_migrate_page(struct address_space *, 299extern int nfs_migrate_page(struct address_space *,
286 struct page *, struct page *); 300 struct page *, struct page *);