Date: Tue, 2 Dec 2008 11:14:16 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern vfs_cache.c Message-ID: <200812021114.mB2BEVqG035429@repoman.freebsd.org>
index | next in thread | raw e-mail
kib 2008-12-02 11:14:16 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_cache.c
Log:
SVN rev 185557 on 2008-12-02 11:14:16Z by kib
Shared lookup makes it possible to create several negative cache
entries for one name. Then, creating inode with that name would remove
one entry, leaving others dormant. Reclaiming the vnode would uncover
negative entries, causing false return of ENOENT from the calls like
stat, that do not create inode.
Prevent creation of the duplicated negative entries.
Reported and debugged with: pho
Reviewed by: jhb
X-MFC: after shared lookup changes
Revision Changes Path
1.128 +11 -4 src/sys/kern/vfs_cache.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812021114.mB2BEVqG035429>
