Add initrd_mkdir to registered directories in the initrd
This commit is contained in:
parent
4aa3da8c12
commit
a198cf8d8d
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user