summaryrefslogtreecommitdiff
path: root/fs/read_write.c
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-08 01:01:14 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-08 01:01:14 -0300
commite5fd91f1ef340da553f7a79da9540c3db711c937 (patch)
treeb11842027dc6641da63f4bcc524f8678263304a3 /fs/read_write.c
parent2a9b0348e685a63d97486f6749622b61e9e3292f (diff)
Linux-libre 4.2-gnu
Diffstat (limited to 'fs/read_write.c')
-rw-r--r--fs/read_write.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/fs/read_write.c b/fs/read_write.c
index 8ace6ec15..819ef3faf 100644
--- a/fs/read_write.c
+++ b/fs/read_write.c
@@ -494,30 +494,6 @@ ssize_t __vfs_write(struct file *file, const char __user *p, size_t count,
}
EXPORT_SYMBOL(__vfs_write);
-vfs_readf_t vfs_readf(struct file *file)
-{
- const struct file_operations *fop = file->f_op;
-
- if (fop->read)
- return fop->read;
- if (fop->read_iter)
- return new_sync_read;
- return ERR_PTR(-ENOSYS);
-}
-EXPORT_SYMBOL(vfs_readf);
-
-vfs_writef_t vfs_writef(struct file *file)
-{
- const struct file_operations *fop = file->f_op;
-
- if (fop->write)
- return fop->write;
- if (fop->write_iter)
- return new_sync_write;
- return ERR_PTR(-ENOSYS);
-}
-EXPORT_SYMBOL(vfs_writef);
-
ssize_t __kernel_write(struct file *file, const char *buf, size_t count, loff_t *pos)
{
mm_segment_t old_fs;