summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_task.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2013-10-29 03:11:08 +0000
committerguenther <guenther@openbsd.org>2013-10-29 03:11:08 +0000
commit74755ccae08f64aaa251bfca098ed4ba7e8a6fe5 (patch)
treec6122b1c5bc113ddea7c84ea48e6363faf18b145 /sys/kern/kern_task.c
parentino_t is 64 bit now (diff)
downloadwireguard-openbsd-74755ccae08f64aaa251bfca098ed4ba7e8a6fe5.tar.xz
wireguard-openbsd-74755ccae08f64aaa251bfca098ed4ba7e8a6fe5.zip
Unlock the vnode while calling a device's d_close routine, except when
it's locked for changing the type (i.e., revoke()). We already unlock it while calling the d_open, d_read, and d_write routines and this is safe for the same reason: the device routines operate at a lower level and don't need the protection of the vnode locks. This is important as the device close routine may block indefinitely. "don't see anything wrong" tedu@
Diffstat (limited to 'sys/kern/kern_task.c')
0 files changed, 0 insertions, 0 deletions