Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/fs/msdosfs mention what is the failure case, from FreeBS...



details:   https://anonhg.NetBSD.org/src/rev/bac2b69ffe34
branches:  trunk
changeset: 584369:bac2b69ffe34
user:      soda <soda%NetBSD.org@localhost>
date:      Wed Sep 14 15:13:19 2005 +0000

description:
mention what is the failure case, from FreeBSD revision 1.46 cvs log

diffstat:

 sys/fs/msdosfs/msdosfs_lookup.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 82f1540efd49 -r bac2b69ffe34 sys/fs/msdosfs/msdosfs_lookup.c
--- a/sys/fs/msdosfs/msdosfs_lookup.c   Wed Sep 14 15:07:22 2005 +0000
+++ b/sys/fs/msdosfs/msdosfs_lookup.c   Wed Sep 14 15:13:19 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msdosfs_lookup.c,v 1.6 2005/09/14 15:07:22 christos Exp $      */
+/*     $NetBSD: msdosfs_lookup.c,v 1.7 2005/09/14 15:13:19 soda Exp $  */
 
 /*-
  * Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
@@ -48,7 +48,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: msdosfs_lookup.c,v 1.6 2005/09/14 15:07:22 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: msdosfs_lookup.c,v 1.7 2005/09/14 15:13:19 soda Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -405,6 +405,8 @@
         * cache doesn't understand peculiarities such as case insensitivity
         * and 8.3 filenames.  Hence, it may not invalidate all negative
         * entries if a file with this name is later created.
+        * e.g. creating a file 'foo' won't invalidate a negative entry 
+        * for 'FOO'.
         */
        if ((cnp->cn_flags & MAKEENTRY) && nameiop != CREATE)
                cache_enter(vdp, *vpp, cnp);



Home | Main Index | Thread Index | Old Index