Date: Thu, 7 Oct 2010 08:36:02 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r213508 - head/sys/fs/msdosfs Message-ID: <201010070836.o978a2FL033380@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Thu Oct 7 08:36:02 2010 New Revision: 213508 URL: http://svn.freebsd.org/changeset/base/213508 Log: The msdosfs lookup is case insensitive. Several aliases may be inserted for a single directory entry. As a consequnce, name cache purge done by lookup for fvp when DELETE op for namei is specified, might be not enough to expunge all namecache entries that were installed for this direntry. Explicitely call cache_purge(fvp) when msdosfs_rename() succeeded. PR: kern/93634 MFC after: 1 week Modified: head/sys/fs/msdosfs/msdosfs_vnops.c Modified: head/sys/fs/msdosfs/msdosfs_vnops.c ============================================================================== --- head/sys/fs/msdosfs/msdosfs_vnops.c Thu Oct 7 06:34:47 2010 (r213507) +++ head/sys/fs/msdosfs/msdosfs_vnops.c Thu Oct 7 08:36:02 2010 (r213508) @@ -1258,6 +1258,7 @@ abortit: } } + cache_purge(fvp); VOP_UNLOCK(fvp, 0); bad: if (xp)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010070836.o978a2FL033380>