diff options
author | dzwdz | 2024-03-13 22:33:38 +0100 |
---|---|---|
committer | dzwdz | 2024-03-13 22:46:47 +0100 |
commit | 72f55421fb61b750512f324d284b30e3e67e36e0 (patch) | |
tree | 8933dc013580a2440730644807a03606c6805547 /src/kernel/vfs/mount.c | |
parent | e47412d940db4e9be2d05608272e30f560a275d0 (diff) |
kernel/malloc: slight rework (it's still bad), store more metadata
Diffstat (limited to 'src/kernel/vfs/mount.c')
-rw-r--r-- | src/kernel/vfs/mount.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/vfs/mount.c b/src/kernel/vfs/mount.c index c153c69..adf9b8c 100644 --- a/src/kernel/vfs/mount.c +++ b/src/kernel/vfs/mount.c @@ -10,8 +10,8 @@ VfsMount *vfs_mount_seed(void) { } void vfs_root_register(const char *path, void (*accept)(VfsReq *)) { - VfsBackend *backend = kmalloc(sizeof *backend); - VfsMount *mount = kmalloc(sizeof *mount); + VfsBackend *backend = kmalloc(sizeof *backend, "root bck"); + VfsMount *mount = kmalloc(sizeof *mount, "root mnt"); *backend = (VfsBackend) { .is_user = false, .usehcnt = 1, |