svn commit: r185557 - head/sys/kern

John Baldwin jhb at freebsd.org
Tue Dec 2 13:15:02 PST 2008


On Tuesday 02 December 2008 06:14:17 am Konstantin Belousov wrote:
> Author: kib
> Date: Tue Dec  2 11:14:16 2008
> New Revision: 185557
> URL: http://svn.freebsd.org/changeset/base/185557
> 
> Log:
>   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

Actually, the NFS client code already supports shared lookups in 6.x+, so I 
would suggest MFC'ing this in a week or so to both 6.x and 7.x.

-- 
John Baldwin


More information about the svn-src-all mailing list