vfs: remove opendir/readdir test
This commit is contained in:
parent
cd8d016f34
commit
6aedf88c7e
1 changed files with 0 additions and 8 deletions
8
fs/vfs.c
8
fs/vfs.c
|
|
@ -157,13 +157,5 @@ void vfs_init(const char *rootdev_name)
|
|||
|
||||
/* init file descriptor slab */
|
||||
fd_slab = slab_create(sizeof(struct file_descriptor), 16 * KB, 0);
|
||||
|
||||
DIR *dir = opendir("test/lol");
|
||||
struct dirent *dirent;
|
||||
|
||||
kprintf("Root directory contents:\n");
|
||||
while ((dirent = readdir(dir))) {
|
||||
kprintf(LOG_DEBUG "Found file %s\n", dirent->name);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue