cvs commit: src/sys/fs/nullfs null_subr.c

Jeff Roberson jeff at
Tue Feb 21 22:15:13 PST 2006

jeff        2006-02-22 06:15:12 UTC

  FreeBSD src repository

  Modified files:
    sys/fs/nullfs        null_subr.c 
   - Assert that the lowervp is locked in null_hashget().
   - Simplify the logic dealing with recycled vnodes in null_hashget() and
     null_hashins().  Since we hold the lower node locked in both cases
     the null node can not be undergoing recycling unless reclaim somehow
     called null_nodeget().  The logic that was in place was not safe and
     was essentially dead code.
  MFC After:      1 week
  Revision  Changes    Path
  1.50      +21 -26    src/sys/fs/nullfs/null_subr.c

More information about the cvs-src mailing list