Kernel: Make readdir() available in created InitRD directories
This commit is contained in:
parent
bde9a97db5
commit
511bb7a8c1
@ -226,6 +226,7 @@ int initrd_mkdir(VFS::Node* node, const char* name, mode_t mode) // FIXME: Retur
|
||||
new_node.inode = inode;
|
||||
new_node.find_func = initrd_scan_dir;
|
||||
new_node.mkdir_func = initrd_mkdir;
|
||||
new_node.readdir_func = initrd_read_dir;
|
||||
new_node.length = 0;
|
||||
new_node.type = VFS_DIRECTORY;
|
||||
new_node.mode = mode;
|
||||
|
Loading…
Reference in New Issue
Block a user