Date: Fri, 8 Oct 2010 07:17:22 +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: r213543 - head/sys/fs/msdosfs Message-ID: <201010080717.o987HMWq082046@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Fri Oct 8 07:17:22 2010 New Revision: 213543 URL: http://svn.freebsd.org/changeset/base/213543 Log: Add a comment describing the reason for calling cache_purge(fvp). Requested by: danfe MFC after: 6 days Modified: head/sys/fs/msdosfs/msdosfs_vnops.c Modified: head/sys/fs/msdosfs/msdosfs_vnops.c ============================================================================== --- head/sys/fs/msdosfs/msdosfs_vnops.c Fri Oct 8 01:54:27 2010 (r213542) +++ head/sys/fs/msdosfs/msdosfs_vnops.c Fri Oct 8 07:17:22 2010 (r213543) @@ -1258,6 +1258,13 @@ abortit: } } + /* + * 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. + */ cache_purge(fvp); VOP_UNLOCK(fvp, 0); bad:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010080717.o987HMWq082046>