Add an explicit list initialization that was missing from my last commit.
This commit is contained in:
parent
481da54fc1
commit
8fc4e510a9
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: lfs_alloc.c,v 1.90 2006/04/30 21:19:42 perseant Exp $ */
|
||||
/* $NetBSD: lfs_alloc.c,v 1.91 2006/04/30 21:59:58 perseant Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
|
||||
@ -67,7 +67,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: lfs_alloc.c,v 1.90 2006/04/30 21:19:42 perseant Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: lfs_alloc.c,v 1.91 2006/04/30 21:59:58 perseant Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_quota.h"
|
||||
@ -468,6 +468,7 @@ lfs_vcreate(struct mount *mp, ino_t ino, struct vnode *vp)
|
||||
ip->i_lfs_effnblks = 0;
|
||||
SPLAY_INIT(&ip->i_lfs_lbtree);
|
||||
ip->i_lfs_nbtree = 0;
|
||||
LIST_INIT(&ip->i_lfs_segdhd);
|
||||
#ifdef QUOTA
|
||||
for (i = 0; i < MAXQUOTAS; i++)
|
||||
ip->i_dquot[i] = NODQUOT;
|
||||
|
Loading…
Reference in New Issue
Block a user