[PATCH RESEND 37/62] init: remove root_mountflags from init/do_mounts.h

Askar Safin safinaskar at gmail.com
Sat Sep 13 20:43:35 PDT 2025


It is already declared in include/linux/kernel.h

Signed-off-by: Askar Safin <safinaskar at gmail.com>
---
 init/do_mounts.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/init/do_mounts.h b/init/do_mounts.h
index 90422fb07c02..e225d594dd06 100644
--- a/init/do_mounts.h
+++ b/init/do_mounts.h
@@ -12,8 +12,6 @@
 #include <linux/task_work.h>
 #include <linux/file.h>
 
-extern int root_mountflags;
-
 /* Ensure that async file closing finished to prevent spurious errors. */
 static inline void init_flush_fput(void)
 {
-- 
2.47.2




More information about the linux-riscv mailing list