kib 2009-04-19 05:34:07 UTC
FreeBSD src repository
SVN rev 191260 on 2009-04-19 05:34:07Z by kib
When verifying '..' after VFS_VGET() in ufs_lookup(), do not return
error if '..' is still there but changed between lookup and check.
Start relookup instead. Rename is supposed to change '..' reference
atomically, so transient failures introduced by r191137 are wrong.
While rearranging the code to allow lookup restart in ufs_lookup(),
remove the comment that only distracts the reader.
Noted and reviewed by: tegge
Also reported by: pho
MFC after: 1 month
Revision Changes Path
1.97 +17 -15 src/sys/ufs/ufs/ufs_lookup.c