From 2805882c66adc0029e3fbf1a5581edd4c3dd48bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rin=20Cat=20=28=E9=88=B4=E7=8C=AB=29?= Date: Mon, 7 Nov 2022 11:46:44 -0500 Subject: [PATCH] Import VFS for linux >= 5.4 --- os_dep/osdep_service.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/os_dep/osdep_service.c b/os_dep/osdep_service.c index 47ba686..47b0bd9 100644 --- a/os_dep/osdep_service.c +++ b/os_dep/osdep_service.c @@ -32,6 +32,9 @@ atomic_t _malloc_size = ATOMIC_INIT(0); #endif #endif /* DBG_MEMORY_LEAK */ +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) +MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver); +#endif #if defined(PLATFORM_LINUX) /*