From a8e0cd702f97ffc74dd29f4b873e8813b7e9f27c Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 28 Aug 2022 13:33:09 +0200 Subject: kernel/vfs: minor vfs_request / vfs_root_register rework * changed vfs_root_register's name because the _mount didn't add anything * removed the old pointless vfs_backend_tryaccept calls from drivers * because of that, i could remove the vfs_backend globals * replaced the horrible BACKEND_KERN macro * all vfs_backends are now stored on the heap --- src/kernel/vfs/mount.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/vfs/mount.h') diff --git a/src/kernel/vfs/mount.h b/src/kernel/vfs/mount.h index bcd3460..6efdaa7 100644 --- a/src/kernel/vfs/mount.h +++ b/src/kernel/vfs/mount.h @@ -21,4 +21,4 @@ struct vfs_mount *vfs_mount_resolve( /** Decrements the reference count, potentially freeing the mount. */ void vfs_mount_remref(struct vfs_mount *mnt); -void vfs_mount_root_register(const char *path, struct vfs_backend *backend); +void vfs_root_register(const char *path, void (*accept)(struct vfs_request *)); -- cgit v1.2.3