lkml.org 
[lkml]   [2021]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2 2/2] init/do_mounts.c: Add 9pfs to the list of tag based filesystems
Date
Add 9p to the list of tag based filesystems. I tested basic testing
with kernel command line "root=hostShared rootfstype=9p rw" and it
works for me.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
---
init/do_mounts.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/init/do_mounts.c b/init/do_mounts.c
index 2a18238f4962..7c86bfdab15b 100644
--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -35,6 +35,9 @@ static char *__initdata tag_based_rootfs[] = {
#if IS_BUILTIN(CONFIG_VIRTIO_FS)
"virtiofs",
#endif
+#if IS_BUILTIN(CONFIG_9P_FS)
+ "9p",
+#endif
};
static bool __initdata tag_based_root;
static int root_wait;
--
2.25.4
\
 
 \ /
  Last update: 2021-06-14 19:46    [W:0.107 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site