cvs commit: src/sys/kern vfs_subr.c

Jeff Roberson jeff at FreeBSD.org
Fri Sep 19 17:21:49 PDT 2003


jeff        2003/09/19 17:21:48 PDT

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_subr.c 
  Log:
   - In reassignbuf() don't unlock vp and lock newvp if they are the same.
     Doing so creates a race where the buf is on neither list.
   - Only vfree() in an error case in vclean() if VSHOULDFREE() thinks we
     should.
   - Convert the error case in vclean() to INVARIANTS from DIAGNOSTIC as this
     really should not happen and is fast to check.
  
  Revision  Changes    Path
  1.458     +11 -6     src/sys/kern/vfs_subr.c


More information about the cvs-src mailing list