udf: Support splicing to file
authorJan Kara <jack@suse.cz>
Mon, 12 Sep 2022 10:25:29 +0000 (12:25 +0200)
committerJan Kara <jack@suse.cz>
Mon, 12 Sep 2022 11:03:20 +0000 (13:03 +0200)
commit6c78973da0b11255d2668518ac1baba4c581811a
tree91bdd42c45c032f8bd97e80053f83bc201f655c3
parentd4d361ad00bac10701a8c14d8e1a2967bd2e2813
udf: Support splicing to file

Add explicit support for splicing from pipe to file through
iter_file_splice_write(). Commit 36e2c7421f02 ("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: 36e2c7421f02 ("fs: don't allow splice read/write without explicit ops")
Reported-by: kernel test robot <yujie.liu@intel.com>
Link: https://lore.kernel.org/r/202209081443.593ab12-yujie.liu@intel.com
Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/file.c