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:
parent
3d9127f1bc
commit
4d477d5c77
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=213508
@ -1258,6 +1258,7 @@ msdosfs_rename(ap)
|
||||
}
|
||||
}
|
||||
|
||||
cache_purge(fvp);
|
||||
VOP_UNLOCK(fvp, 0);
|
||||
bad:
|
||||
if (xp)
|
||||
|
Loading…
Reference in New Issue
Block a user