diff options
Diffstat (limited to 'src/kernel/syscalls.c')
-rw-r--r-- | src/kernel/syscalls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/syscalls.c b/src/kernel/syscalls.c index faa7ccc..daf7cac 100644 --- a/src/kernel/syscalls.c +++ b/src/kernel/syscalls.c @@ -215,8 +215,8 @@ int _syscall_fs_wait(char __user *buf, int max_len, struct fs_wait_response __us if (backend->queue) { // handle queued requests struct process *queued = backend->queue; - backend->queue = NULL; // TODO get the next queued proc - vfs_request_pass2handler(&queued->pending_req); + backend->queue = queued->waits4fs.queue_next; + vfs_request_pass2handler(&queued->waits4fs.req); } else { process_switch_any(); } |