Fix fallout from v_specinfo removal.

This commit is contained in:
tsutsui 2008-01-26 15:37:35 +00:00
parent 52451df464
commit e44e8e02b0

View File

@ -1,4 +1,4 @@
/* $NetBSD: irix_fcntl.c,v 1.22 2008/01/05 19:14:07 dsl Exp $ */
/* $NetBSD: irix_fcntl.c,v 1.23 2008/01/26 15:37:35 tsutsui Exp $ */
/*-
* Copyright (c) 2001-2002 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: irix_fcntl.c,v 1.22 2008/01/05 19:14:07 dsl Exp $");
__KERNEL_RCSID(0, "$NetBSD: irix_fcntl.c,v 1.23 2008/01/26 15:37:35 tsutsui Exp $");
#include <sys/types.h>
#include <sys/signal.h>
@ -331,8 +331,6 @@ irix_sys_open(struct lwp *l, const struct irix_sys_open_args *uap, register_t *r
nvp->v_writecount++;
nvp->v_type = VCHR;
nvp->v_specinfo = (void *)malloc(sizeof(struct specinfo),
M_VNODE, M_WAITOK|M_ZERO);
nvp->v_rdev = vp->v_rdev;
nvp->v_specmountpoint = vp->v_specmountpoint;