From c0bd14af51a470895448f88edd1315c4fa0b0d27 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sat, 4 May 2013 15:00:54 -0400 Subject: 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 --- fs/read_write.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'fs/read_write.c') diff --git a/fs/read_write.c b/fs/read_write.c index 605dbbcb197..90ba3b350e5 100644 --- a/fs/read_write.c +++ b/fs/read_write.c @@ -16,12 +16,15 @@ #include #include #include -#include "read_write.h" #include "internal.h" #include #include +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, -- cgit v1.2.3-70-g09d2