Commit 33a74a9e authored by Paolo \'Blaisorblade\' Giarrusso's avatar Paolo \'Blaisorblade\' Giarrusso Committed by Linus Torvalds

[PATCH] hostfs: uml: set .sendfile to generic_file_sendfile

Make hostfs use the generic sendfile implementation.
Signed-off-by: default avatarPaolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent b0d03750
......@@ -393,6 +393,7 @@ int hostfs_fsync(struct file *file, struct dentry *dentry, int datasync)
static struct file_operations hostfs_file_fops = {
.llseek = generic_file_llseek,
.read = generic_file_read,
.sendfile = generic_file_sendfile,
.write = generic_file_write,
.mmap = generic_file_mmap,
.open = hostfs_file_open,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment