mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 11:16:11 +00:00
ramfs: enable splice write
Signed-off-by: Octavian Purdila <opurdila@ixiacom.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
This commit is contained in:
parent
7c0c0b5b19
commit
8b3d3567f7
2 changed files with 2 additions and 0 deletions
|
@ -45,6 +45,7 @@ const struct file_operations ramfs_file_operations = {
|
|||
.mmap = generic_file_mmap,
|
||||
.fsync = simple_sync_file,
|
||||
.splice_read = generic_file_splice_read,
|
||||
.splice_write = generic_file_splice_write,
|
||||
.llseek = generic_file_llseek,
|
||||
};
|
||||
|
||||
|
|
|
@ -43,6 +43,7 @@ const struct file_operations ramfs_file_operations = {
|
|||
.aio_write = generic_file_aio_write,
|
||||
.fsync = simple_sync_file,
|
||||
.splice_read = generic_file_splice_read,
|
||||
.splice_write = generic_file_splice_write,
|
||||
.llseek = generic_file_llseek,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue