cvs commit: src/sys/kern vfs_vnops.c

Mike Pritchard mpp at FreeBSD.org
Mon Feb 12 22:53:02 UTC 2007


mpp         2007-02-12 22:53:01 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_vnops.c 
  Log:
  Add a VNASSERT to vn_close to detect if v_writecount is going
  to become negative.  This will detect the underflow when it
  happens, instead of having it discovered when the vnode is
  taken off the freelist, long after the offending process is long
  gone.
  
  Revision  Changes    Path
  1.248     +4 -1      src/sys/kern/vfs_vnops.c


More information about the cvs-src mailing list