summaryrefslogtreecommitdiff
path: root/src/kernel/syscalls.c
diff options
context:
space:
mode:
authordzwdz2024-07-14 16:39:43 +0200
committerdzwdz2024-07-14 16:39:43 +0200
commit8e403358b5a7ec3a5933257a95aa528c7f503ba0 (patch)
treeb60a0a132c340a5f56a83c8667417fb268b4a80a /src/kernel/syscalls.c
parentc1d3ac750b8483c9a942d2fb5d5b7245d014e905 (diff)
kernel/malloc: clean up the code a little bit
The bitmap functions now accept page addresses so I don't have to handle raw bitmap indexes, which was kinda complex. kmalloc_sanity is now not visible to other code as it wasn't really that useful in the first place.
Diffstat (limited to 'src/kernel/syscalls.c')
-rw-r--r--src/kernel/syscalls.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/kernel/syscalls.c b/src/kernel/syscalls.c
index 7fcbd2a..39115e7 100644
--- a/src/kernel/syscalls.c
+++ b/src/kernel/syscalls.c
@@ -147,8 +147,6 @@ long _sys_mount(hid_t hid, const char __user *path, long len) {
mount->refs = 1;
proc_cur->mount = mount;
- kmalloc_sanity(mount);
- kmalloc_sanity(mount->prefix);
SYSCALL_RETURN(0);
fail: