cvs commit: src/sys/fs/unionfs union_vnops.c

David Schultz das at FreeBSD.org
Fri Nov 14 00:23:14 PST 2003


das         2003/11/14 00:23:13 PST

  FreeBSD src repository

  Modified files:
    sys/fs/unionfs       union_vnops.c 
  Log:
  - A sanity check in unionfs verifies that lookups of '.' return the
    vnode of the parent.  However, this check should not be performed if
    the lookup failed.  This change should fix "union_lookup returning
    . not same as startdir" panics people were seeing.  The bug was
    introduced by an incomplete import of a NetBSD delta in rev 1.38.
  - Move the aforementioned check out from DIAGNOSTIC.  Performance
    is the least of our unionfs worries.
  - Minor reorganization.
  
  PR:             53004
  MFC after:      1 week
  
  Revision  Changes    Path
  1.103     +21 -27    src/sys/fs/unionfs/union_vnops.c


More information about the cvs-src mailing list