diff options
Diffstat (limited to 'src/kernel/vfs')
-rw-r--r-- | src/kernel/vfs/request.c | 1 | ||||
-rw-r--r-- | src/kernel/vfs/request.h | 4 |
2 files changed, 2 insertions, 3 deletions
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; |