CVSROOT: /cvs Module name: src Changes by: guent...@cvs.openbsd.org 2013/10/28 21:11:08
Modified files: sys/kern : spec_vnops.c Log message: 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@