From a198cf8d8dc3e769a37ac7fbaebbf559715cd222 Mon Sep 17 00:00:00 2001 From: apio Date: Tue, 11 Oct 2022 18:25:11 +0200 Subject: [PATCH] Add initrd_mkdir to registered directories in the initrd --- kernel/src/init/InitRD.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/src/init/InitRD.cpp b/kernel/src/init/InitRD.cpp index db4abc7e..72553348 100644 --- a/kernel/src/init/InitRD.cpp +++ b/kernel/src/init/InitRD.cpp @@ -268,6 +268,7 @@ static bool initrd_register_dir(InitRD::Directory& dir, uint64_t inode) node.find_func = initrd_scan_dir; node.length = 0; node.type = VFS_DIRECTORY; + node.mkdir_func = initrd_mkdir; strncpy(node.name, buffer, sizeof(node.name)); strncpy(dir.name, buffer, sizeof(dir.name));