summaryrefslogtreecommitdiff
path: root/src/kernel/vfs/backend.c
diff options
context:
space:
mode:
authordzwdz2021-09-05 15:32:00 +0200
committerdzwdz2021-09-05 15:32:00 +0200
commitf229b2e8a6ca840af8f3ac26cc2f412891a99a5e (patch)
treeeafe7e435cc011b0b1e8cdf396f3e6b27f6a4ee3 /src/kernel/vfs/backend.c
parent613de4db61dd99e7d2049b0a303e167fa711030b (diff)
root vfs: implement writing to /tty
Diffstat (limited to 'src/kernel/vfs/backend.c')
-rw-r--r--src/kernel/vfs/backend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/vfs/backend.c b/src/kernel/vfs/backend.c
index cf73ef0..9a2b777 100644
--- a/src/kernel/vfs/backend.c
+++ b/src/kernel/vfs/backend.c
@@ -8,6 +8,7 @@ _Noreturn void vfs_backend_dispatch(struct vfs_backend *backend, struct vfs_op o
struct vfs_op_request req = {
.op = op,
.caller = process_current,
+ .backend = backend,
};
switch (backend->type) {
case VFS_BACK_ROOT: