Date: Sat, 16 Apr 2005 23:47:19 +0000 (UTC) From: David Schultz <das@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/msdosfs msdosfs_lookup.c Message-ID: <200504162347.j3GNlJUA010418@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
das 2005-04-16 23:47:19 UTC
FreeBSD src repository
Modified files:
sys/fs/msdosfs msdosfs_lookup.c
Log:
Disable negative name caching for msdosfs to work around a bug.
Since the name cache is case-sensitive and msdosfs isn't,
creating a file 'foo' won't invalidate a negative entry for 'FOO'.
There are similar problems related to 8.3 filenames.
A better solution is to override VOP_LOOKUP with a method that
canonicalizes the name, then calls vfs_cache_lookup(). Unfortunately,
it's not quite that simple because vfs_cache_lookup() will call
msdosfs_lookup() on a cache miss, and msdosfs_lookup() needs a way to
get at the original component name.
Revision Changes Path
1.46 +7 -0 src/sys/fs/msdosfs/msdosfs_lookup.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504162347.j3GNlJUA010418>
