summaryrefslogtreecommitdiff
path: root/src/kernel/vfs/request.c
diff options
context:
space:
mode:
authordzwdz2022-07-07 20:29:13 +0200
committerdzwdz2022-07-07 20:29:13 +0200
commite567ebeee5ea196128f15adcf30cec5dd1137f90 (patch)
tree1226f0376dbe25fd6d86524f01e6848812aee0ae /src/kernel/vfs/request.c
parentbbdacaddcc25d1d137a0bb0781eba603641baa92 (diff)
kernel: add the vfsreq_finish_short shorthand function
Diffstat (limited to 'src/kernel/vfs/request.c')
-rw-r--r--src/kernel/vfs/request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/vfs/request.c b/src/kernel/vfs/request.c
index 1729ca1..dfbd5cd 100644
--- a/src/kernel/vfs/request.c
+++ b/src/kernel/vfs/request.c
@@ -19,7 +19,7 @@ void vfsreq_create(struct vfs_request req_) {
}
if (!req->backend || !req->backend->potential_handlers)
- vfsreq_finish(req, -1, 0, NULL);
+ vfsreq_finish_short(req, -1);
struct vfs_request **iter = &req->backend->queue;
while (*iter != NULL) // find free spot in queue