diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nfs_fs.h | 4 | ||||
-rw-r--r-- | include/linux/nfs_xdr.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 782e59765696..f55827be4f8e 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h | |||
@@ -492,8 +492,8 @@ static inline void nfs_writedata_free(struct nfs_write_data *p) | |||
492 | extern int nfs_readpage(struct file *, struct page *); | 492 | extern int nfs_readpage(struct file *, struct page *); |
493 | extern int nfs_readpages(struct file *, struct address_space *, | 493 | extern int nfs_readpages(struct file *, struct address_space *, |
494 | struct list_head *, unsigned); | 494 | struct list_head *, unsigned); |
495 | extern void nfs_readpage_result(struct rpc_task *, void *); | 495 | extern int nfs_readpage_result(struct rpc_task *, struct nfs_read_data *); |
496 | extern void nfs_readdata_release(void *data); | 496 | extern void nfs_readdata_release(void *data); |
497 | 497 | ||
498 | 498 | ||
499 | /* | 499 | /* |
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 277750cc70c0..7fafc4c546b7 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
@@ -695,7 +695,6 @@ struct nfs_read_data { | |||
695 | #ifdef CONFIG_NFS_V4 | 695 | #ifdef CONFIG_NFS_V4 |
696 | unsigned long timestamp; /* For lease renewal */ | 696 | unsigned long timestamp; /* For lease renewal */ |
697 | #endif | 697 | #endif |
698 | void (*complete) (struct nfs_read_data *, int); | ||
699 | struct page *page_array[NFS_PAGEVEC_SIZE + 1]; | 698 | struct page *page_array[NFS_PAGEVEC_SIZE + 1]; |
700 | }; | 699 | }; |
701 | 700 | ||
@@ -768,6 +767,7 @@ struct nfs_rpc_ops { | |||
768 | struct nfs_pathconf *); | 767 | struct nfs_pathconf *); |
769 | u32 * (*decode_dirent)(u32 *, struct nfs_entry *, int plus); | 768 | u32 * (*decode_dirent)(u32 *, struct nfs_entry *, int plus); |
770 | void (*read_setup) (struct nfs_read_data *); | 769 | void (*read_setup) (struct nfs_read_data *); |
770 | int (*read_done) (struct rpc_task *, struct nfs_read_data *); | ||
771 | void (*write_setup) (struct nfs_write_data *, int how); | 771 | void (*write_setup) (struct nfs_write_data *, int how); |
772 | int (*write_done) (struct rpc_task *, struct nfs_write_data *); | 772 | int (*write_done) (struct rpc_task *, struct nfs_write_data *); |
773 | void (*commit_setup) (struct nfs_write_data *, int how); | 773 | void (*commit_setup) (struct nfs_write_data *, int how); |