[LTP] [PATCH v2 2/3] lib: Add support bcachefs filesystem to .all_filesystems

Petr Vorel
2023-12-07T19:41:22Z

bcachefs has been merged into v6.7-rc1 [1]. Let's add it's support to
LTP .all_filesystems = 1 and TST_ALL_FILESYSTEMS=1.

[1] https://lwn.net/Articles/934692/

Suggested-by: Cyril Hrubis <chrubis@suse.cz>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
The same as in v1

lib/tst_supported_fs_types.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/lib/tst_supported_fs_types.c b/lib/tst_supported_fs_types.c
index d4911fa3b..369836717 100644
--- a/lib/tst_supported_fs_types.c
+++ b/lib/tst_supported_fs_types.c
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (c) 2017 Cyril Hrubis <chrubis@suse.cz>
+ * Copyright (c) Linux Test Project, 2018-2023
*/

#include <stdio.h>
@@ -24,6 +25,7 @@ static const char *const fs_type_whitelist[] = {
"ext4",
"xfs",
"btrfs",
+ "bcachefs",
"vfat",
"exfat",
"ntfs",
--
2.43.0