cvs commit: src/sys/ufs/ufs ufs_lookup.c

[ Available lists | Index of cvs-src-old | Month of Apr 2009 | Week of 19 Apr 2009 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Konstantin Belousov <kib@FreeBSD.org>
Date
19 Apr 2009 05:34:17
Subject
cvs commit: src/sys/ufs/ufs ufs_lookup.c
Message-ID
200904190534.n3J5YHZ0074452@repoman.freebsd.org


[ Hide this part ]
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


Elapsed time: 0.144 seconds