Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2009 09:57:08 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/ufs/ufs ufs_lookup.c
Message-ID:  <200904160957.n3G9vDU2075172@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kib         2009-04-16 09:57:08 UTC

  FreeBSD src repository

  Modified files:
    sys/ufs/ufs          ufs_lookup.c 
  Log:
  SVN rev 191137 on 2009-04-16 09:57:08Z by kib
  
  Verify that '..' still exists with the same inode number after
  VFS_VGET() has returned in ufs_lookup(). If the '..' lookup started
  immediately before the parent directory was removed, we might return
  either cleared or unrelated inode otherwise.
  
  Ufs_lookup() is split into new function ufs_lookup_() that either does
  lookup, or verifies that directory entry exists and references supplied
  inode number.
  
  Reviewed by:    tegge
  Tested by:      pho,
          Andreas Tobler <andreast-list fgznet ch> (previous version)
  MFC after:      1 month
  
  Revision  Changes    Path
  1.96      +35 -9     src/sys/ufs/ufs/ufs_lookup.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904160957.n3G9vDU2075172>