Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/ffs Initialize the 'mirror' i_flags fiels in struct ...



details:   https://anonhg.NetBSD.org/src/rev/c82be9d93b55
branches:  trunk
changeset: 545549:c82be9d93b55
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Thu Apr 10 20:03:40 2003 +0000

description:
Initialize the 'mirror' i_flags fiels in struct inode to 0.

diffstat:

 sys/ufs/ffs/ffs_alloc.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r a6b070d485d8 -r c82be9d93b55 sys/ufs/ffs/ffs_alloc.c
--- a/sys/ufs/ffs/ffs_alloc.c   Thu Apr 10 20:02:36 2003 +0000
+++ b/sys/ufs/ffs/ffs_alloc.c   Thu Apr 10 20:03:40 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffs_alloc.c,v 1.60 2003/04/02 10:39:36 fvdl Exp $      */
+/*     $NetBSD: ffs_alloc.c,v 1.61 2003/04/10 20:03:40 fvdl Exp $      */
 
 /*
  * Copyright (c) 2002 Networks Associates Technology, Inc.
@@ -45,7 +45,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ffs_alloc.c,v 1.60 2003/04/02 10:39:36 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffs_alloc.c,v 1.61 2003/04/10 20:03:40 fvdl Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ffs.h"
@@ -727,6 +727,7 @@
                DIP(ip, blocks) = 0;
        }
        ip->i_flag &= ~IN_SPACECOUNTED;
+       ip->i_flags = 0;
        DIP(ip, flags) = 0;
        /*
         * Set up a new generation number for this inode.



Home | Main Index | Thread Index | Old Index