Commit 23db2f30 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Linus Torvalds

[PATCH] hfs/hfsplus is missing .sendfile

There seem to be some crazy mac users that want to use the loop driver
on hfsplus.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 98088ec9
...@@ -609,6 +609,7 @@ struct file_operations hfs_file_operations = { ...@@ -609,6 +609,7 @@ struct file_operations hfs_file_operations = {
.read = generic_file_read, .read = generic_file_read,
.write = generic_file_write, .write = generic_file_write,
.mmap = generic_file_mmap, .mmap = generic_file_mmap,
.sendfile = generic_file_sendfile,
.fsync = file_fsync, .fsync = file_fsync,
.open = hfs_file_open, .open = hfs_file_open,
.release = hfs_file_release, .release = hfs_file_release,
......
...@@ -308,6 +308,7 @@ struct file_operations hfsplus_file_operations = { ...@@ -308,6 +308,7 @@ struct file_operations hfsplus_file_operations = {
.read = generic_file_read, .read = generic_file_read,
.write = generic_file_write, .write = generic_file_write,
.mmap = generic_file_mmap, .mmap = generic_file_mmap,
.sendfile = generic_file_sendfile,
.fsync = file_fsync, .fsync = file_fsync,
.open = hfsplus_file_open, .open = hfsplus_file_open,
.release = hfsplus_file_release, .release = hfsplus_file_release,
......
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