aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2009-08-17 13:30:27 -0400
committerJan Kara <jack@suse.cz>2009-09-14 11:08:14 -0400
commitd3bccb6f4b886060aa0f58976b92b77d951f5434 (patch)
treeb5f9eb43890da173a078e883d51c23b8c27ceaa6 /include/linux/fs.h
parent86d710146fb9975f04c505ec78caa43d227c1018 (diff)
vfs: Introduce filemap_fdatawait_range
This simple helper saves some filesystems conversion from byte offset to page numbers and also makes the fdata* interface more complete. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index a79f48373e7e..beb0e2774b2e 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2086,6 +2086,8 @@ extern int write_inode_now(struct inode *, int);
2086extern int filemap_fdatawrite(struct address_space *); 2086extern int filemap_fdatawrite(struct address_space *);
2087extern int filemap_flush(struct address_space *); 2087extern int filemap_flush(struct address_space *);
2088extern int filemap_fdatawait(struct address_space *); 2088extern int filemap_fdatawait(struct address_space *);
2089extern int filemap_fdatawait_range(struct address_space *, loff_t lstart,
2090 loff_t lend);
2089extern int filemap_write_and_wait(struct address_space *mapping); 2091extern int filemap_write_and_wait(struct address_space *mapping);
2090extern int filemap_write_and_wait_range(struct address_space *mapping, 2092extern int filemap_write_and_wait_range(struct address_space *mapping,
2091 loff_t lstart, loff_t lend); 2093 loff_t lstart, loff_t lend);