diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2010-10-14 09:29:59 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2010-10-14 09:29:59 +0000 |
| commit | bda47a9059e579e34ad3ef16e44398b4f68b77dc (patch) | |
| tree | 29464813d44c172ac02eb4e679b1a82944a3dc78 | |
| parent | 6c88e29a3ea3aebe27e8bf4935fbcfbd59b7f4cc (diff) | |
Notes
| -rw-r--r-- | sys/fs/msdosfs/msdosfs_vnops.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/fs/msdosfs/msdosfs_vnops.c b/sys/fs/msdosfs/msdosfs_vnops.c index e9c593bdc0ce..81a76e45fc73 100644 --- a/sys/fs/msdosfs/msdosfs_vnops.c +++ b/sys/fs/msdosfs/msdosfs_vnops.c @@ -1270,6 +1270,14 @@ 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: if (xp) |
