cvs commit: src/sys/kern kern_ktrace.c
Mike Pritchard
mpp at FreeBSD.org
Tue Feb 13 00:20:14 UTC 2007
mpp 2007-02-13 00:20:13 UTC
FreeBSD src repository
Modified files:
sys/kern kern_ktrace.c
Log:
Do not do a vn_close for all references to the ktraced file if we are
doing a CLEARFILE option. Do a vrele instead. This prevents
a panic later due to v_writecount being negative when the vnode
is taken off the freelist.
Submitted by: jhb
Revision Changes Path
1.115 +13 -10 src/sys/kern/kern_ktrace.c
More information about the cvs-src
mailing list