aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/include')
-rw-r--r--src/kernel/include/vfs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kernel/include/vfs.h b/src/kernel/include/vfs.h
index 226f962..8f09d7f 100644
--- a/src/kernel/include/vfs.h
+++ b/src/kernel/include/vfs.h
@@ -55,6 +55,7 @@ typedef struct fs_handle {
struct fs_node *node;
int refs;
+ mutex_t lock;
int mode;
@@ -125,6 +126,8 @@ typedef struct {
typedef struct fs {
// Filled by VFS's make_fs()
int refs;
+ mutex_t lock;
+
struct fs *from_fs;
int ok_modes;
// Filled by FS's specific make() - all zero in the case of a subfs