From eca4dfd49216f6158df69143994a18a0b3edd4fe Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 7 Feb 2021 14:23:32 +0100 Subject: Added filesystem and proc permissions --- kernel/drivers/ide.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kernel/drivers') diff --git a/kernel/drivers/ide.c b/kernel/drivers/ide.c index 7dd2416..8fc90c9 100644 --- a/kernel/drivers/ide.c +++ b/kernel/drivers/ide.c @@ -147,8 +147,9 @@ void ata_probe(void) struct vfs *vfs = malloc(sizeof(*vfs)); vfs->type = VFS_EXT2; vfs->read = ext2_read; - vfs->ready = ext2_ready; vfs->stat = ext2_stat; + vfs->perm = ext2_perm; + vfs->ready = ext2_ready; dev->vfs = vfs; dev->data = data; vfs_mount(dev, "/"); -- cgit v1.2.3