From 1fc2d9c88af77c3af81b6bd461e6b019b97d2dbb Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 20 Jul 2024 23:17:36 +0200 Subject: *: moving files --- src/kernel/vfs/request.c | 1 + src/kernel/vfs/request.h | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src/kernel/vfs') diff --git a/src/kernel/vfs/request.c b/src/kernel/vfs/request.c index 92b904f..3f6fda7 100644 --- a/src/kernel/vfs/request.c +++ b/src/kernel/vfs/request.c @@ -166,6 +166,7 @@ vfsback_useraccept(VfsReq *req) res.len = len; res.capacity = req->output.len; res.id = req->id; + res.id2 = req->id2; res.offset = req->offset; res.flags = req->flags; res.op = req->type; diff --git a/src/kernel/vfs/request.h b/src/kernel/vfs/request.h index 45ec687..d6facfd 100644 --- a/src/kernel/vfs/request.h +++ b/src/kernel/vfs/request.h @@ -50,9 +50,7 @@ struct VfsReq { size_t len; } output; - // TODO why doesn't this just have a reference to the handle? - - void __user *id; // handle.file.id + void __user *id, *id2; // handle.file.id long offset; int flags; -- cgit v1.2.3