]> Zhao Yanbai Git Server - minix.git/commit
VFS: set w_drv_sendrec only when needed 43/943/2
authorDavid van Moolenbroek <david@minix3.org>
Sat, 24 Aug 2013 10:29:39 +0000 (12:29 +0200)
committerLionel Sambuc <lionel@minix3.org>
Tue, 18 Feb 2014 10:25:02 +0000 (11:25 +0100)
commita75c47e5ac105d7af4c0ab170d7e83f6588a6852
tree59afeb96803da73d27382fef1269d6b1828f55d8
parent7d02ecdbb4a138f349e05f8bdcf5ad9e6685b25e
VFS: set w_drv_sendrec only when needed

As with w_task, this ensures that the field remains cleared if it is
not used. Without this, worker_stop could mistakenly identify a thread
as talking to a device driver rather than a (crashed) file server.

Change-Id: I7d3ebed3efc3cd4f5c891f61c67a6463109b6376
servers/vfs/device.c