diff options
author | Marvin Borner | 2021-02-07 14:23:32 +0100 |
---|---|---|
committer | Marvin Borner | 2021-02-07 14:23:32 +0100 |
commit | eca4dfd49216f6158df69143994a18a0b3edd4fe (patch) | |
tree | 831e2ffe1724d4761d734fe753df0d0ea6958dd2 /kernel/drivers | |
parent | 03b8f1d1976e0f74c80556315105734354fc06fc (diff) |
Added filesystem and proc permissions
Diffstat (limited to 'kernel/drivers')
-rw-r--r-- | kernel/drivers/ide.c | 3 |
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, "/"); |