vfs/pipe: fix pagefault during congested pipes

Issue #4030
This commit is contained in:
Sid Hussmann 2021-03-11 01:38:39 +01:00 committed by Norman Feske
parent f98d10a3f3
commit cae3e447d6

View File

@ -250,7 +250,7 @@ struct Vfs_pipe::Pipe
if ((num_writers == 0) && !waiting_for_writers)
return Read_result::READ_OK; /* EOF */
io_progress_waiters.enqueue(handle.io_progress_elem);
read_ready_waiters.enqueue(handle.io_progress_elem);
return Read_result::READ_QUEUED;
}