diff options
author | Badari Pulavarty <pbadari@us.ibm.com> | 2006-10-01 02:28:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-01 03:39:28 -0400 |
commit | ee0b3e671baff681d69fbf0db33b47603c0a8280 (patch) | |
tree | 3202ff815b2196c6c353bc5b28d7a2800df273ec /include/linux/fs.h | |
parent | 027445c37282bc1ed26add45e573ad2d3e4860a5 (diff) |
[PATCH] Remove readv/writev methods and use aio_read/aio_write instead
This patch removes readv() and writev() methods and replaces them with
aio_read()/aio_write() methods.
Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 257bae16f545..afb6e6f89a01 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1113,8 +1113,6 @@ struct file_operations { | |||
1113 | int (*aio_fsync) (struct kiocb *, int datasync); | 1113 | int (*aio_fsync) (struct kiocb *, int datasync); |
1114 | int (*fasync) (int, struct file *, int); | 1114 | int (*fasync) (int, struct file *, int); |
1115 | int (*lock) (struct file *, int, struct file_lock *); | 1115 | int (*lock) (struct file *, int, struct file_lock *); |
1116 | ssize_t (*readv) (struct file *, const struct iovec *, unsigned long, loff_t *); | ||
1117 | ssize_t (*writev) (struct file *, const struct iovec *, unsigned long, loff_t *); | ||
1118 | ssize_t (*sendfile) (struct file *, loff_t *, size_t, read_actor_t, void *); | 1116 | ssize_t (*sendfile) (struct file *, loff_t *, size_t, read_actor_t, void *); |
1119 | ssize_t (*sendpage) (struct file *, struct page *, int, size_t, loff_t *, int); | 1117 | ssize_t (*sendpage) (struct file *, struct page *, int, size_t, loff_t *, int); |
1120 | unsigned long (*get_unmapped_area)(struct file *, unsigned long, unsigned long, unsigned long, unsigned long); | 1118 | unsigned long (*get_unmapped_area)(struct file *, unsigned long, unsigned long, unsigned long, unsigned long); |
@@ -1734,10 +1732,6 @@ extern long do_splice_direct(struct file *in, loff_t *ppos, struct file *out, | |||
1734 | 1732 | ||
1735 | extern void | 1733 | extern void |
1736 | file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping); | 1734 | file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping); |
1737 | extern ssize_t generic_file_readv(struct file *filp, const struct iovec *iov, | ||
1738 | unsigned long nr_segs, loff_t *ppos); | ||
1739 | ssize_t generic_file_writev(struct file *filp, const struct iovec *iov, | ||
1740 | unsigned long nr_segs, loff_t *ppos); | ||
1741 | extern loff_t no_llseek(struct file *file, loff_t offset, int origin); | 1735 | extern loff_t no_llseek(struct file *file, loff_t offset, int origin); |
1742 | extern loff_t generic_file_llseek(struct file *file, loff_t offset, int origin); | 1736 | extern loff_t generic_file_llseek(struct file *file, loff_t offset, int origin); |
1743 | extern loff_t remote_llseek(struct file *file, loff_t offset, int origin); | 1737 | extern loff_t remote_llseek(struct file *file, loff_t offset, int origin); |