diff options
author | dzwdz | 2022-04-10 15:13:49 +0200 |
---|---|---|
committer | dzwdz | 2022-04-10 15:13:49 +0200 |
commit | 3e7d1acffd81175246fab1ed8be30569c9cd3289 (patch) | |
tree | 492540543055adb07904e86d17c7304663e16517 /src/kernel/vfs/request.c | |
parent | 3c9ee975733680d816bb0e5d550f22aaa2f0a73f (diff) |
kernel: idle process
Diffstat (limited to 'src/kernel/vfs/request.c')
-rw-r--r-- | src/kernel/vfs/request.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/kernel/vfs/request.c b/src/kernel/vfs/request.c index 5b65e52..e8bf147 100644 --- a/src/kernel/vfs/request.c +++ b/src/kernel/vfs/request.c @@ -7,7 +7,6 @@ int vfs_request_create(struct vfs_request req_) { struct vfs_request *req; - int ret; process_current->state = PS_WAITS4FS; process_current->waits4fs.queue_next = NULL; @@ -20,9 +19,7 @@ int vfs_request_create(struct vfs_request req_) { switch (req->backend->type) { case VFS_BACK_ROOT: - ret = vfs_root_handler(req); - ret = vfs_request_finish(req, ret); - return ret; + return vfs_root_handler(req); case VFS_BACK_USER: if (req->backend->handler && req->backend->handler->state == PS_WAITS4REQUEST) |