From owner-cvs-src@FreeBSD.ORG Sat Apr 16 23:47:19 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8ABC616A4CE; Sat, 16 Apr 2005 23:47:19 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FABB43D41; Sat, 16 Apr 2005 23:47:19 +0000 (GMT) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j3GNlJ90010419; Sat, 16 Apr 2005 23:47:19 GMT (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j3GNlJUA010418; Sat, 16 Apr 2005 23:47:19 GMT (envelope-from das) Message-Id: <200504162347.j3GNlJUA010418@repoman.freebsd.org> From: David Schultz Date: Sat, 16 Apr 2005 23:47:19 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/fs/msdosfs msdosfs_lookup.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2005 23:47:19 -0000 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