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)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"