cvs commit: src/sys/kern kern_ktrace.c

From: Mike Pritchard <mpp_at_FreeBSD.org>
Date: Tue, 13 Feb 2007 00:20:13 +0000 (UTC)
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
Received on Tue Feb 13 2007 - 00:20:14 UTC