diff options
Diffstat (limited to 'include/linux/nfs_fs.h')
-rw-r--r-- | include/linux/nfs_fs.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 2516adeccecf..4dff705d2ff2 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h | |||
@@ -406,10 +406,12 @@ extern int nfs_writepage(struct page *page, struct writeback_control *wbc); | |||
406 | extern int nfs_writepages(struct address_space *, struct writeback_control *); | 406 | extern int nfs_writepages(struct address_space *, struct writeback_control *); |
407 | extern int nfs_flush_incompatible(struct file *file, struct page *page); | 407 | extern int nfs_flush_incompatible(struct file *file, struct page *page); |
408 | extern int nfs_updatepage(struct file *, struct page *, unsigned int, unsigned int); | 408 | extern int nfs_updatepage(struct file *, struct page *, unsigned int, unsigned int); |
409 | extern void nfs_writeback_done(struct rpc_task *task); | 409 | extern void nfs_writeback_done(struct rpc_task *task, void *data); |
410 | extern void nfs_writedata_release(void *data); | ||
410 | 411 | ||
411 | #if defined(CONFIG_NFS_V3) || defined(CONFIG_NFS_V4) | 412 | #if defined(CONFIG_NFS_V3) || defined(CONFIG_NFS_V4) |
412 | extern void nfs_commit_done(struct rpc_task *); | 413 | extern void nfs_commit_done(struct rpc_task *, void *data); |
414 | extern void nfs_commit_release(void *data); | ||
413 | #endif | 415 | #endif |
414 | 416 | ||
415 | /* | 417 | /* |
@@ -481,7 +483,9 @@ static inline void nfs_writedata_free(struct nfs_write_data *p) | |||
481 | extern int nfs_readpage(struct file *, struct page *); | 483 | extern int nfs_readpage(struct file *, struct page *); |
482 | extern int nfs_readpages(struct file *, struct address_space *, | 484 | extern int nfs_readpages(struct file *, struct address_space *, |
483 | struct list_head *, unsigned); | 485 | struct list_head *, unsigned); |
484 | extern void nfs_readpage_result(struct rpc_task *); | 486 | extern void nfs_readpage_result(struct rpc_task *, void *); |
487 | extern void nfs_readdata_release(void *data); | ||
488 | |||
485 | 489 | ||
486 | /* | 490 | /* |
487 | * Allocate and free nfs_read_data structures | 491 | * Allocate and free nfs_read_data structures |
@@ -501,8 +505,6 @@ static inline void nfs_readdata_free(struct nfs_read_data *p) | |||
501 | mempool_free(p, nfs_rdata_mempool); | 505 | mempool_free(p, nfs_rdata_mempool); |
502 | } | 506 | } |
503 | 507 | ||
504 | extern void nfs_readdata_release(struct rpc_task *task); | ||
505 | |||
506 | /* | 508 | /* |
507 | * linux/fs/nfs3proc.c | 509 | * linux/fs/nfs3proc.c |
508 | */ | 510 | */ |