6.6-stable review patch. If anyone has any objections, please let me know. ------------------ This reverts commit bc8be70fdeb94a15a3cd534ac8eea69574b8149c. Signed-off-by: Sasha Levin --- tools/testing/selftests/mm/cow.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/tools/testing/selftests/mm/cow.c b/tools/testing/selftests/mm/cow.c index 0b7660c5f08f7..6da407f1728de 100644 --- a/tools/testing/selftests/mm/cow.c +++ b/tools/testing/selftests/mm/cow.c @@ -1670,13 +1670,8 @@ static void run_with_tmpfile(non_anon_test_fn fn, const char *desc) /* File consists of a single page filled with zeroes. */ if (fallocate(fd, 0, 0, pagesize)) { - if (errno == EOPNOTSUPP) { - ksft_print_msg("fallocate() not supported by filesystem\n"); - log_test_result(KSFT_SKIP); - } else { - ksft_perror("fallocate() failed"); - log_test_result(KSFT_FAIL); - } + ksft_perror("fallocate() failed"); + log_test_result(KSFT_FAIL); goto close; } -- 2.53.0