aboutsummaryrefslogtreecommitdiff
path: root/kernel/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers')
-rw-r--r--kernel/drivers/ide.c3
1 files changed, 2 insertions, 1 deletions
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, "/");