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
This commit is contained in:
Konstantin Belousov 2010-10-07 08:36:02 +00:00
parent 3d9127f1bc
commit 4d477d5c77
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=213508

View File

@ -1258,6 +1258,7 @@ msdosfs_rename(ap)
}
}
cache_purge(fvp);
VOP_UNLOCK(fvp, 0);
bad:
if (xp)