From 844cd82f89e003a83d763402a6a20abc22252322 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Tue, 7 Sep 2021 18:33:56 +0200 Subject: implement fs_create(), front/back fs handles --- src/kernel/handle.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/kernel/handle.h') diff --git a/src/kernel/handle.h b/src/kernel/handle.h index 0bf0f33..4ec8e57 100644 --- a/src/kernel/handle.h +++ b/src/kernel/handle.h @@ -10,6 +10,9 @@ typedef int handle_t; // TODO duplicated in syscalls.h enum handle_type { HANDLE_EMPTY, HANDLE_FILE, + + HANDLE_FS_FRONT, + HANDLE_FS_BACK, }; struct handle { @@ -19,5 +22,8 @@ struct handle { struct vfs_backend *backend; int id; } file; + struct { + struct vfs_backend *backend; + } fs; }; }; -- cgit v1.2.3