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
|
@ -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 New Issue