Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/ffs Fixup last commit. fs->fs_active must be initial...



details:   https://anonhg.NetBSD.org/src/rev/e16bad634522
branches:  trunk
changeset: 567007:e16bad634522
user:      hannken <hannken%NetBSD.org@localhost>
date:      Thu May 27 17:04:52 2004 +0000

description:
Fixup last commit. fs->fs_active must be initialized.

diffstat:

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

diffs (26 lines):

diff -r b1590ff7eb65 -r e16bad634522 sys/ufs/ffs/ffs_vfsops.c
--- a/sys/ufs/ffs/ffs_vfsops.c  Thu May 27 16:47:35 2004 +0000
+++ b/sys/ufs/ffs/ffs_vfsops.c  Thu May 27 17:04:52 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffs_vfsops.c,v 1.149 2004/05/25 14:54:59 hannken Exp $ */
+/*     $NetBSD: ffs_vfsops.c,v 1.150 2004/05/27 17:04:52 hannken Exp $ */
 
 /*
  * Copyright (c) 1989, 1991, 1993, 1994
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ffs_vfsops.c,v 1.149 2004/05/25 14:54:59 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffs_vfsops.c,v 1.150 2004/05/27 17:04:52 hannken Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ffs.h"
@@ -917,6 +917,7 @@
                fs->fs_avgfilesize = AVFILESIZ;
        if (fs->fs_avgfpdir <= 0)
                fs->fs_avgfpdir = AFPDIR;
+       fs->fs_active = NULL;
        mp->mnt_data = ump;
        mp->mnt_stat.f_fsidx.__fsid_val[0] = (long)dev;
        mp->mnt_stat.f_fsidx.__fsid_val[1] = makefstype(MOUNT_FFS);



Home | Main Index | Thread Index | Old Index