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