From 1f135261e7781722dc4d1b889665f7ac691af719 Mon Sep 17 00:00:00 2001 From: apio Date: Sun, 8 Jan 2023 15:42:48 +0100 Subject: [PATCH] Revert "Kernel: Make readdir() available in created InitRD directories" This reverts commit 511bb7a8c1332a845850ab179acd09d556652fe0. --- kernel/src/fs/InitRD.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/src/fs/InitRD.cpp b/kernel/src/fs/InitRD.cpp index c202277e..78ffe094 100644 --- a/kernel/src/fs/InitRD.cpp +++ b/kernel/src/fs/InitRD.cpp @@ -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;