diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-04 15:00:54 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-04 15:00:54 -0400 |
commit | c0bd14af51a470895448f88edd1315c4fa0b0d27 (patch) | |
tree | b13af29d9c556f90e373bc3a7c266469d043694d /fs/read_write.c | |
parent | 5ae98f1589e076e4b314fc54ae2beac58842ddc2 (diff) | |
download | linux-c0bd14af51a470895448f88edd1315c4fa0b0d27.tar.bz2 |
kill fs/read_write.h
fs/compat.c doesn't need it anymore, so let's just move the remaining
contents (two typedefs) into fs/read_write.c
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/read_write.c')
-rw-r--r-- | fs/read_write.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/read_write.c b/fs/read_write.c index 605dbbcb1973..90ba3b350e50 100644 --- a/fs/read_write.c +++ b/fs/read_write.c @@ -16,12 +16,15 @@ #include <linux/pagemap.h> #include <linux/splice.h> #include <linux/compat.h> -#include "read_write.h" #include "internal.h" #include <asm/uaccess.h> #include <asm/unistd.h> +typedef ssize_t (*io_fn_t)(struct file *, char __user *, size_t, loff_t *); +typedef ssize_t (*iov_fn_t)(struct kiocb *, const struct iovec *, + unsigned long, loff_t); + const struct file_operations generic_ro_fops = { .llseek = generic_file_llseek, .read = do_sync_read, |