mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 05:32:00 +00:00
orangefs: add splice file operations
Fix some xfstests regressions that started after 36e2c7421f
,
"don't allow splice read/write without explicit ops". Thanks for
help from Dave Chinner and Matthew Wilcox.
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
This commit is contained in:
parent
2c85ebc57b
commit
c1048828c3
@ -663,6 +663,8 @@ const struct file_operations orangefs_file_operations = {
|
||||
.unlocked_ioctl = orangefs_ioctl,
|
||||
.mmap = orangefs_file_mmap,
|
||||
.open = generic_file_open,
|
||||
.splice_read = generic_file_splice_read,
|
||||
.splice_write = iter_file_splice_write,
|
||||
.flush = orangefs_flush,
|
||||
.release = orangefs_file_release,
|
||||
.fsync = orangefs_fsync,
|
||||
|
Loading…
Reference in New Issue
Block a user