diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/nfs_fs.h | 2 | ||||
-rw-r--r-- | include/linux/nfs_page.h | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 02f38189d180..f8190ae9e3fb 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h | |||
@@ -432,7 +432,7 @@ extern void nfs_writedata_release(void *); | |||
432 | * Try to write back everything synchronously (but check the | 432 | * Try to write back everything synchronously (but check the |
433 | * return value!) | 433 | * return value!) |
434 | */ | 434 | */ |
435 | extern int nfs_sync_inode_wait(struct inode *, unsigned long, unsigned int, int); | 435 | extern long nfs_sync_inode_wait(struct inode *, unsigned long, unsigned int, int); |
436 | #if defined(CONFIG_NFS_V3) || defined(CONFIG_NFS_V4) | 436 | #if defined(CONFIG_NFS_V3) || defined(CONFIG_NFS_V4) |
437 | extern int nfs_commit_inode(struct inode *, int); | 437 | extern int nfs_commit_inode(struct inode *, int); |
438 | extern struct nfs_write_data *nfs_commit_alloc(void); | 438 | extern struct nfs_write_data *nfs_commit_alloc(void); |
diff --git a/include/linux/nfs_page.h b/include/linux/nfs_page.h index 1f7bd287c230..38aa15fea638 100644 --- a/include/linux/nfs_page.h +++ b/include/linux/nfs_page.h | |||
@@ -60,8 +60,9 @@ extern void nfs_clear_request(struct nfs_page *req); | |||
60 | extern void nfs_release_request(struct nfs_page *req); | 60 | extern void nfs_release_request(struct nfs_page *req); |
61 | 61 | ||
62 | 62 | ||
63 | extern int nfs_scan_lock_dirty(struct nfs_inode *nfsi, struct list_head *dst, | 63 | extern long nfs_scan_dirty(struct address_space *mapping, |
64 | unsigned long idx_start, unsigned int npages); | 64 | struct writeback_control *wbc, |
65 | struct list_head *dst); | ||
65 | extern int nfs_scan_list(struct nfs_inode *nfsi, struct list_head *head, struct list_head *dst, | 66 | extern int nfs_scan_list(struct nfs_inode *nfsi, struct list_head *head, struct list_head *dst, |
66 | unsigned long idx_start, unsigned int npages); | 67 | unsigned long idx_start, unsigned int npages); |
67 | extern int nfs_coalesce_requests(struct list_head *, struct list_head *, | 68 | extern int nfs_coalesce_requests(struct list_head *, struct list_head *, |