summaryrefslogtreecommitdiff
path: root/src/kernel/handle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/handle.h')
-rw-r--r--src/kernel/handle.h6
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;
};
};