diff options
author | Fred Isaman <iisaman@netapp.com> | 2012-04-20 14:47:54 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-04-27 14:10:38 -0400 |
commit | f453a54a01c7c0453ad9550906e3d2663dd486ac (patch) | |
tree | 1eac38e7e186ea0339066e7da417a20e0274b2c0 /fs/nfs/internal.h | |
parent | ea2cf2282b4278461266013e9c002ee1c66700ff (diff) |
NFS: create nfs_commit_completion_ops
Factors out the code that needs to change when directio
starts using these code paths.
Signed-off-by: Fred Isaman <iisaman@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r-- | fs/nfs/internal.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index 145e9e7dc8ce..137f5cd71433 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h | |||
@@ -344,13 +344,12 @@ extern int nfs_initiate_commit(struct rpc_clnt *clnt, | |||
344 | int how); | 344 | int how); |
345 | extern void nfs_init_commit(struct nfs_commit_data *data, | 345 | extern void nfs_init_commit(struct nfs_commit_data *data, |
346 | struct list_head *head, | 346 | struct list_head *head, |
347 | struct pnfs_layout_segment *lseg); | 347 | struct pnfs_layout_segment *lseg, |
348 | struct nfs_commit_info *cinfo); | ||
348 | void nfs_retry_commit(struct list_head *page_list, | 349 | void nfs_retry_commit(struct list_head *page_list, |
349 | struct pnfs_layout_segment *lseg, | 350 | struct pnfs_layout_segment *lseg, |
350 | struct nfs_commit_info *cinfo); | 351 | struct nfs_commit_info *cinfo); |
351 | void nfs_commit_clear_lock(struct nfs_inode *nfsi); | ||
352 | void nfs_commitdata_release(struct nfs_commit_data *data); | 352 | void nfs_commitdata_release(struct nfs_commit_data *data); |
353 | void nfs_commit_release_pages(struct nfs_commit_data *data); | ||
354 | void nfs_request_add_commit_list(struct nfs_page *req, struct list_head *dst, | 353 | void nfs_request_add_commit_list(struct nfs_page *req, struct list_head *dst, |
355 | struct nfs_commit_info *cinfo); | 354 | struct nfs_commit_info *cinfo); |
356 | void nfs_request_remove_commit_list(struct nfs_page *req, | 355 | void nfs_request_remove_commit_list(struct nfs_page *req, |