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 | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/vfs/request.c b/src/kernel/vfs/request.c index 30c0e77..4ee5986 100644 --- a/src/kernel/vfs/request.c +++ b/src/kernel/vfs/request.c @@ -113,6 +113,7 @@ void vfs_backend_user_accept(struct vfs_request *req) { res.capacity = req->output.len; res.id = req->id; res.offset = req->offset; + res.flags = req->flags; res.op = req->type; if (!virt_cpy_to(handler->pages, diff --git a/src/kernel/vfs/request.h b/src/kernel/vfs/request.h index e034bc6..cad0981 100644 --- a/src/kernel/vfs/request.h +++ b/src/kernel/vfs/request.h @@ -49,6 +49,7 @@ struct vfs_request { int id; // handle.file.id int offset; + int flags; struct process *caller; struct vfs_backend *backend; |