summaryrefslogtreecommitdiff
path: root/src/kernel
diff options
context:
space:
mode:
authordzwdz2021-09-12 18:21:43 +0200
committerdzwdz2021-09-12 18:21:43 +0200
commita21d273d9b8b02f2f6e02c913b64a29d06253f85 (patch)
tree8bf1853c05fe90e91e12e02bf79d0717e96b9d22 /src/kernel
parentbadde3808a8a2ef512ae52af5d91f419585e27fd (diff)
move `enum vs_operation` to shared/flags.h
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/vfs/request.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/kernel/vfs/request.h b/src/kernel/vfs/request.h
index 8f5cf92..aabef4f 100644
--- a/src/kernel/vfs/request.h
+++ b/src/kernel/vfs/request.h
@@ -1,4 +1,5 @@
#pragma once
+#include <shared/flags.h>
enum vfs_backend_type {
VFS_BACK_ROOT,
@@ -14,11 +15,6 @@ struct vfs_backend {
struct process *queue;
};
-enum vfs_operation {
- VFSOP_OPEN,
- VFSOP_WRITE,
-};
-
// describes an in-process vfs call
struct vfs_request {
enum vfs_operation type;