aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2007-07-20 13:13:28 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-10-09 17:15:18 -0400
commited90ef51a33f572fa7d00c8b05f7457be727e74f (patch)
tree4c41336dd045cd9a857454a5d8a595288d64d6e1 /include
parent90e9a3f9b0a14198a8ae5a0a5c13ad30f0b8b40d (diff)
NFS: Clean up NFS writeback flush code
The only user of nfs_sync_mapping_range() is nfs_getattr(), which uses it to flush out the entire inode without sending a commit. We therefore replace nfs_sync_mapping_range with a more appropriate helper. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfs_fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h
index 32bd5d38cdfd..15eec27cb60b 100644
--- a/include/linux/nfs_fs.h
+++ b/include/linux/nfs_fs.h
@@ -426,8 +426,8 @@ extern void nfs_writedata_release(void *);
426 * return value!) 426 * return value!)
427 */ 427 */
428extern long nfs_sync_mapping_wait(struct address_space *, struct writeback_control *, int); 428extern long nfs_sync_mapping_wait(struct address_space *, struct writeback_control *, int);
429extern int nfs_sync_mapping_range(struct address_space *, loff_t, loff_t, int);
430extern int nfs_wb_all(struct inode *inode); 429extern int nfs_wb_all(struct inode *inode);
430extern int nfs_wb_nocommit(struct inode *inode);
431extern int nfs_wb_page(struct inode *inode, struct page* page); 431extern int nfs_wb_page(struct inode *inode, struct page* page);
432extern int nfs_wb_page_priority(struct inode *inode, struct page* page, int how); 432extern int nfs_wb_page_priority(struct inode *inode, struct page* page, int how);
433extern int nfs_wb_page_cancel(struct inode *inode, struct page* page); 433extern int nfs_wb_page_cancel(struct inode *inode, struct page* page);