diff options
Diffstat (limited to 'src/kernel/syscalls.c')
-rw-r--r-- | src/kernel/syscalls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/syscalls.c b/src/kernel/syscalls.c index 1ec8ed9..c5e25b7 100644 --- a/src/kernel/syscalls.c +++ b/src/kernel/syscalls.c @@ -113,7 +113,8 @@ int _syscall_mount(handle_t hid, const char __user *path, int len) { // TODO move to kernel/vfs/mount.c mount = kmalloc(sizeof *mount); mount->prev = process_current->mount; - mount->prefix = path_buf; // owned + mount->prefix = path_buf; + mount->prefix_owned = true; mount->prefix_len = len; mount->backend = backend; mount->refs = 1; |