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

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.com


Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent d4d361ad
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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,
};