Commit 6c78973d authored by Jan Kara's avatar Jan Kara

udf: Support splicing to file

Add explicit support for splicing from pipe to file through
iter_file_splice_write(). Commit 36e2c742 ("fs: don't allow splice
read/write without explicit ops") removed the default .splice_write
operation which effectively removed UDF support for splicing from pipe.

Fixes: 36e2c742 ("fs: don't allow splice read/write without explicit ops")
Reported-by: default avatarkernel test robot <yujie.liu@intel.com>
Link: https://lore.kernel.org/r/202209081443.593ab12-yujie.liu@intel.comSigned-off-by: default avatarJan Kara <jack@suse.cz>
parent d4d361ad
......@@ -252,6 +252,7 @@ const struct file_operations udf_file_operations = {
.release = udf_release_file,
.fsync = generic_file_fsync,
.splice_read = generic_file_splice_read,
.splice_write = iter_file_splice_write,
.llseek = generic_file_llseek,
};
......
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