CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2019/08/05 02:46:46

Modified files:
        sys/dev        : diskmap.c 

Log message:
Favor vn_close() in the error path of diskmapioctl() since side-effects
caused by calling vn_open() with write permissions must be reverted.
Otherwise, the vfs subsystem could panic while releasing the last vnode
reference if the writecount is still positive.

ok visa@

Reported-by: [email protected]
Reported-by: [email protected]

Reply via email to