Revert "Kernel: Make readdir() available in created InitRD directories"

This reverts commit 511bb7a8c1.
This commit is contained in:
apio 2023-01-08 15:42:48 +01:00
parent 49d1e4f011
commit 1f135261e7
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -226,7 +226,6 @@ int initrd_mkdir(VFS::Node* node, const char* name, mode_t mode)
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;