Date: Sun, 19 Apr 2009 05:34:07 +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: <200904190534.n3J5YHZ0074452@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2009-04-19 05:34:07 UTC
FreeBSD src repository
Modified files:
sys/ufs/ufs ufs_lookup.c
Log:
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904190534.n3J5YHZ0074452>
