diff options
author | dzwdz | 2021-09-07 18:33:56 +0200 |
---|---|---|
committer | dzwdz | 2021-09-07 18:33:56 +0200 |
commit | 844cd82f89e003a83d763402a6a20abc22252322 (patch) | |
tree | 7144f7c7aa4fad572759dbc05b2374f999ffa0d4 /src/kernel/handle.h | |
parent | e447090093a01fea0b27c4340fcb54bbf9ae3396 (diff) |
implement fs_create(), front/back fs handles
Diffstat (limited to 'src/kernel/handle.h')
-rw-r--r-- | src/kernel/handle.h | 6 |
1 files changed, 6 insertions, 0 deletions
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; }; }; |