From bf4cbc830d78774ac00d9501c45e8b84d0ae9ae7 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Wed, 29 Jun 2022 21:52:15 +0200 Subject: kernel/vfs: add the OPEN_CREATE flag --- src/kernel/vfs/request.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/kernel/vfs/request.c') 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, -- cgit v1.2.3