diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-03-20 10:42:10 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-09 14:12:56 -0400 |
commit | 72ec35163f9f728ba1579fd80682e51e933dfa8a (patch) | |
tree | be16e677a5009144cb52c602dcb7dfbc2f86b12a /fs/read_write.h | |
parent | bdaec334bbe7d234ca6ddd81aa74b2938d40e6b4 (diff) |
switch compat readv/writev variants to COMPAT_SYSCALL_DEFINE
... and take to fs/read_write.c
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/read_write.h')
-rw-r--r-- | fs/read_write.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/read_write.h b/fs/read_write.h index d3e00ef67420..b98780664ffa 100644 --- a/fs/read_write.h +++ b/fs/read_write.h | |||
@@ -8,9 +8,5 @@ typedef ssize_t (*io_fn_t)(struct file *, char __user *, size_t, loff_t *); | |||
8 | typedef ssize_t (*iov_fn_t)(struct kiocb *, const struct iovec *, | 8 | typedef ssize_t (*iov_fn_t)(struct kiocb *, const struct iovec *, |
9 | unsigned long, loff_t); | 9 | unsigned long, loff_t); |
10 | 10 | ||
11 | ssize_t do_sync_readv_writev(struct file *filp, const struct iovec *iov, | ||
12 | unsigned long nr_segs, size_t len, loff_t *ppos, iov_fn_t fn); | ||
13 | ssize_t do_loop_readv_writev(struct file *filp, struct iovec *iov, | ||
14 | unsigned long nr_segs, loff_t *ppos, io_fn_t fn); | ||
15 | ssize_t do_sendfile(int out_fd, int in_fd, loff_t *ppos, size_t count, | 11 | ssize_t do_sendfile(int out_fd, int in_fd, loff_t *ppos, size_t count, |
16 | loff_t max); | 12 | loff_t max); |