diff options
author | dzwdz | 2022-07-07 19:24:42 +0200 |
---|---|---|
committer | dzwdz | 2022-07-07 19:24:42 +0200 |
commit | bbdacaddcc25d1d137a0bb0781eba603641baa92 (patch) | |
tree | 898ddd186d8e1def04e818b192a8c9b8d2721504 /src/kernel/arch/i386/driver/fsroot.c | |
parent | 8dc3d7df4c73b320fa84b2e871732276a7c6e20f (diff) |
kernel/vfs: delegate support in _syscall_fs_respond!
this is big in terms of speed, it avoids a lot of unnecessary context
switches
Diffstat (limited to 'src/kernel/arch/i386/driver/fsroot.c')
-rw-r--r-- | src/kernel/arch/i386/driver/fsroot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/arch/i386/driver/fsroot.c b/src/kernel/arch/i386/driver/fsroot.c index bea89cd..10cf3bc 100644 --- a/src/kernel/arch/i386/driver/fsroot.c +++ b/src/kernel/arch/i386/driver/fsroot.c @@ -134,9 +134,9 @@ static int handle(struct vfs_request *req) { static void accept(struct vfs_request *req) { if (req->caller) { - vfsreq_finish(req, handle(req)); + vfsreq_finish(req, handle(req), 0, NULL); } else { - vfsreq_finish(req, -1); + vfsreq_finish(req, -1, 0, NULL); } } |