aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2009-08-17 12:10:06 -0400
committerJan Kara <jack@suse.cz>2009-09-14 11:08:14 -0400
commite4dd9de3c66bc7e26c5c7f149a060c5a67cf06a0 (patch)
tree3270180b085c86afe4834fba5567464cd3932eb8 /include/linux/fs.h
parentd3bccb6f4b886060aa0f58976b92b77d951f5434 (diff)
vfs: Export __generic_file_aio_write() and add some comments
Rename __generic_file_aio_write_nolock() to __generic_file_aio_write(), add comments to write helpers explaining how they should be used and export __generic_file_aio_write() since it will be used by some filesystems. CC: ocfs2-devel@oss.oracle.com CC: Joel Becker <joel.becker@oracle.com> Acked-by: Evgeniy Polyakov <zbr@ioremap.net> 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 beb0e2774b2e..ea099d3a18d9 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2204,6 +2204,8 @@ extern int generic_file_readonly_mmap(struct file *, struct vm_area_struct *);
2204extern int file_read_actor(read_descriptor_t * desc, struct page *page, unsigned long offset, unsigned long size); 2204extern int file_read_actor(read_descriptor_t * desc, struct page *page, unsigned long offset, unsigned long size);
2205int generic_write_checks(struct file *file, loff_t *pos, size_t *count, int isblk); 2205int generic_write_checks(struct file *file, loff_t *pos, size_t *count, int isblk);
2206extern ssize_t generic_file_aio_read(struct kiocb *, const struct iovec *, unsigned long, loff_t); 2206extern ssize_t generic_file_aio_read(struct kiocb *, const struct iovec *, unsigned long, loff_t);
2207extern ssize_t __generic_file_aio_write(struct kiocb *, const struct iovec *, unsigned long,
2208 loff_t *);
2207extern ssize_t generic_file_aio_write(struct kiocb *, const struct iovec *, unsigned long, loff_t); 2209extern ssize_t generic_file_aio_write(struct kiocb *, const struct iovec *, unsigned long, loff_t);
2208extern ssize_t generic_file_aio_write_nolock(struct kiocb *, const struct iovec *, 2210extern ssize_t generic_file_aio_write_nolock(struct kiocb *, const struct iovec *,
2209 unsigned long, loff_t); 2211 unsigned long, loff_t);