diff mbox series

[v2,2/2] init/do_mounts.c: Add 9pfs to the list of tag based filesystems

Message ID 20210614174454.903555-3-vgoyal@redhat.com (mailing list archive)
State New
Headers show
Series Add support to boot virtiofs and 9pfs as rootfs | expand

Commit Message

Vivek Goyal June 14, 2021, 5:44 p.m. UTC
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 mbox series


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[] = {
+	"9p",
 static bool __initdata tag_based_root;
 static int root_wait;