selftests: splice: Adjust for handler fallback removal
authorKees Cook <keescook@chromium.org>
Thu, 27 May 2021 03:25:37 +0000 (20:25 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 8 Jun 2021 00:39:43 +0000 (18:39 -0600)
commit6daf076b717d189f4d02a303d45edd5732341ec1
tree4cd631f54c4afb3c7519d1fdffc9adaf3cda6cc3
parentf50688b47c5858d2ff315d020332bf4cb6710837
selftests: splice: Adjust for handler fallback removal

Some pseudo-filesystems do not have an explicit splice fops since adding
commit 36e2c7421f02 ("fs: don't allow splice read/write without explicit ops"),
and now will reject attempts to use splice() in those filesystem paths.

Reported-by: kernel test robot <rong.a.chen@intel.com>
Link: https://lore.kernel.org/lkml/202009181443.C2179FB@keescook/
Fixes: 36e2c7421f02 ("fs: don't allow splice read/write without explicit ops")
Cc: Christoph Hellwig <hch@lst.de>
Cc: Shuah Khan <shuah@kernel.org>
Cc: linux-kselftest@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/splice/short_splice_read.sh