diff mbox series

[v2,12/29] fs: Disable sandbox filesystem in SPL

Message ID 20231014204805.439009-13-seanga2@gmail.com
State Accepted
Commit c39d22c337c7e25c07fff6dcd54b9a96cfcd9687
Delegated to: Tom Rini
Headers show
Series test: spl: Test some load methods | expand

Commit Message

Sean Anderson Oct. 14, 2023, 8:47 p.m. UTC
Don't bother compiling the sandbox filesystem in SPL for now, as it is not
needed.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
---

Changes in v2:
- Disable sandbox filesystem in SPL instead of compiling it in

 fs/fs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/fs/fs.c b/fs/fs.c
index cfc781bbb8d..4cb4310c9cc 100644
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -237,7 +237,7 @@  static struct fstype_info fstypes[] = {
 		.mkdir = fs_mkdir_unsupported,
 	},
 #endif
-#ifdef CONFIG_SANDBOX
+#if IS_ENABLED(CONFIG_SANDBOX) && !IS_ENABLED(CONFIG_SPL_BUILD)
 	{
 		.fstype = FS_TYPE_SANDBOX,
 		.name = "sandbox",