CVSROOT: /cvs Module name: src Changes by: v...@cvs.openbsd.org 2018/07/07 09:40:02
Modified files: sys/kern : spec_vnops.c Log message: Fix a locking error in spec_setattr(). Unlike many VOP operations, VOP_SETATTR() does not release the vnode lock (and it has never done the unlocking in the past). Therefore spec_setattr() has to keep the argument vnode locked and unlock v_specparent instead after the nested VOP_SETATTR() call. Fixes a WITNESS panic found by anton@ OK anton@, mpi@