minix/minix
David van Moolenbroek 7d0647db6a VFS: fix aborting queued requests after FS crash
The new asserts from git-29e004d exposed an issue in how VFS handles
aborting file system (FS) requests that are queued for a FS (as
opposed to sent to it) when that FS crashes.  In that scenario, the
queued worker has its w_task set to NONE, because there is no ongoing
communication.  However, worker_stop() is called on it regardless,
which used to abort the request only if w_task was not set to NONE,
leading to an improperly aborted request, a warning, and a VFS crash a
bit later.  This patch changes worker_stop() so that w_task need not
be set to a valid endpoint for FS requests to be properly aborted.

Change-Id: Ib73db285e689ae4742b15cba26137bf340bc303b
2016-06-17 18:02:29 +00:00
..
bin New sources layout 2014-07-31 16:00:30 +02:00
commands setup.sh: fix various issues 2016-02-26 19:45:55 +00:00
drivers Boot-to-ramdisk image generation scripts 2016-03-21 21:01:20 +01:00
fs Fix usage of parenthesis in Makefiles 2016-02-07 19:17:44 +01:00
include libc: enable all functionality in net/ 2016-03-13 16:03:39 +00:00
kernel Kernel: disable assert in prefetch abort handler 2016-03-09 12:11:23 +00:00
lib Revert "libutil: add getmaxpartitions() implementation" 2016-03-13 19:51:58 +00:00
llvm generate_gold_plugin: support for MAKE variable 2016-01-13 20:32:36 +01:00
man commands: move manpages into command directories 2015-09-28 14:06:06 +00:00
net Fix usage of parenthesis in Makefiles 2016-02-07 19:17:44 +01:00
sbin New sources layout 2014-07-31 16:00:30 +02:00
servers VFS: fix aborting queued requests after FS crash 2016-06-17 18:02:29 +00:00
share New sources layout 2014-07-31 16:00:30 +02:00
tests PM: add support for saved user/group IDs 2016-03-12 17:46:06 +01:00
usr.bin Prepare for switch to native BSD socket API 2016-02-23 14:34:05 +00:00
usr.sbin NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
Makefile NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
Makefile.inc New sources layout 2014-07-31 16:00:30 +02:00