diff options
author | kib <kib@FreeBSD.org> | 2010-10-08 07:17:22 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2010-10-08 07:17:22 +0000 |
commit | a45f57abe4f22cbd092c60e797ceea96b89dd977 (patch) | |
tree | 8760dc6d7bcbf95179fefcb02e27823b2bb1785e /sys/fs/msdosfs | |
parent | de54e693fda91295c9e061b7ebc091f350b94541 (diff) | |
download | FreeBSD-src-a45f57abe4f22cbd092c60e797ceea96b89dd977.zip FreeBSD-src-a45f57abe4f22cbd092c60e797ceea96b89dd977.tar.gz |
Add a comment describing the reason for calling cache_purge(fvp).
Requested by: danfe
MFC after: 6 days
Diffstat (limited to 'sys/fs/msdosfs')
-rw-r--r-- | sys/fs/msdosfs/msdosfs_vnops.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/fs/msdosfs/msdosfs_vnops.c b/sys/fs/msdosfs/msdosfs_vnops.c index 416e702..300b71c 100644 --- a/sys/fs/msdosfs/msdosfs_vnops.c +++ b/sys/fs/msdosfs/msdosfs_vnops.c @@ -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: |