summaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_fs.h
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/linux/nfs_fs.h
parent90e9a3f9b0a14198a8ae5a0a5c13ad30f0b8b40d (diff)
downloadop-kernel-dev-ed90ef51a33f572fa7d00c8b05f7457be727e74f.zip
op-kernel-dev-ed90ef51a33f572fa7d00c8b05f7457be727e74f.tar.gz
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/linux/nfs_fs.h')
-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 32bd5d3..15eec27 100644
--- a/include/linux/nfs_fs.h
+++ b/include/linux/nfs_fs.h
@@ -426,8 +426,8 @@ extern void nfs_writedata_release(void *);
* return value!)
*/
extern long nfs_sync_mapping_wait(struct address_space *, struct writeback_control *, int);
-extern int nfs_sync_mapping_range(struct address_space *, loff_t, loff_t, int);
extern int nfs_wb_all(struct inode *inode);
+extern int nfs_wb_nocommit(struct inode *inode);
extern int nfs_wb_page(struct inode *inode, struct page* page);
extern int nfs_wb_page_priority(struct inode *inode, struct page* page, int how);
extern int nfs_wb_page_cancel(struct inode *inode, struct page* page);
OpenPOWER on IntegriCloud