Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/makefs/msdos don't forget to initialize the cache.



details:   https://anonhg.NetBSD.org/src/rev/9d8a305f1cb1
branches:  trunk
changeset: 784408:9d8a305f1cb1
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jan 28 00:16:24 2013 +0000

description:
don't forget to initialize the cache.

diffstat:

 usr.sbin/makefs/msdos/msdosfs_denode.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 48b99c0506d6 -r 9d8a305f1cb1 usr.sbin/makefs/msdos/msdosfs_denode.c
--- a/usr.sbin/makefs/msdos/msdosfs_denode.c    Sun Jan 27 22:53:03 2013 +0000
+++ b/usr.sbin/makefs/msdos/msdosfs_denode.c    Mon Jan 28 00:16:24 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msdosfs_denode.c,v 1.3 2013/01/27 22:52:38 christos Exp $      */
+/*     $NetBSD: msdosfs_denode.c,v 1.4 2013/01/28 00:16:24 christos Exp $      */
 
 /*-
  * Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
@@ -52,7 +52,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: msdosfs_denode.c,v 1.3 2013/01/27 22:52:38 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: msdosfs_denode.c,v 1.4 2013/01/28 00:16:24 christos Exp $");
 
 #include <sys/param.h>
 
@@ -113,6 +113,7 @@
        ldep->de_pmp = pmp;
        ldep->de_devvp = pmp->pm_devvp;
        ldep->de_refcnt = 1;
+       fc_purge(ldep, 0);
        /*
         * Copy the directory entry into the denode area of the vnode.
         */



Home | Main Index | Thread Index | Old Index