Add initrd_mkdir to registered directories in the initrd

This commit is contained in:
apio 2022-10-11 18:25:11 +02:00
parent 4aa3da8c12
commit a198cf8d8d

View File

@ -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));