summaryrefslogtreecommitdiff
path: root/src/kernel/vfs/root.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/vfs/root.c')
-rw-r--r--src/kernel/vfs/root.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kernel/vfs/root.c b/src/kernel/vfs/root.c
index 11d5f64..36e9da1 100644
--- a/src/kernel/vfs/root.c
+++ b/src/kernel/vfs/root.c
@@ -166,6 +166,9 @@ static int handle(struct vfs_request *req, bool *ready) {
default: return -1;
}
+ case VFSOP_CLOSE:
+ return 0;
+
default: panic_invalid_state();
}
}