Remove a_fp.

This commit is contained in:
mycroft 1994-12-14 18:45:21 +00:00
parent ef575bdbc1
commit 7276c4ed44
7 changed files with 9 additions and 18 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: fdesc_vnops.c,v 1.23 1994/12/14 18:40:27 mycroft Exp $ */
/* $NetBSD: fdesc_vnops.c,v 1.24 1994/12/14 18:45:21 mycroft Exp $ */
/*
* Copyright (c) 1992, 1993
@ -293,7 +293,6 @@ fdesc_open(ap)
int a_mode;
struct ucred *a_cred;
struct proc *a_p;
struct file *a_fp;
} */ *ap;
{
struct vnode *vp = ap->a_vp;

View File

@ -1,4 +1,4 @@
/* $NetBSD: fifo_vnops.c,v 1.13 1994/12/13 20:14:39 mycroft Exp $ */
/* $NetBSD: fifo_vnops.c,v 1.14 1994/12/14 18:45:42 mycroft Exp $ */
/*
* Copyright (c) 1990, 1993
@ -137,7 +137,6 @@ fifo_open(ap)
int a_mode;
struct ucred *a_cred;
struct proc *a_p;
struct file *a_fp;
} */ *ap;
{
register struct vnode *vp = ap->a_vp;

View File

@ -1,4 +1,4 @@
/* $NetBSD: kernfs_vnops.c,v 1.31 1994/12/01 10:16:53 mycroft Exp $ */
/* $NetBSD: kernfs_vnops.c,v 1.32 1994/12/14 18:47:42 mycroft Exp $ */
/*
* Copyright (c) 1992, 1993
@ -301,7 +301,6 @@ kernfs_open(ap)
int a_mode;
struct ucred *a_cred;
struct proc *a_p;
struct file *a_fp;
} */ *ap;
{

View File

@ -1,4 +1,4 @@
/* $NetBSD: portal_vnops.c,v 1.8 1994/11/14 06:07:01 christos Exp $ */
/* $NetBSD: portal_vnops.c,v 1.9 1994/12/14 18:47:44 mycroft Exp $ */
/*
* Copyright (c) 1992, 1993
@ -187,7 +187,6 @@ portal_open(ap)
int a_mode;
struct ucred *a_cred;
struct proc *a_p;
struct file *a_fp;
} */ *ap;
{
struct socket *so = 0;

View File

@ -1,4 +1,4 @@
/* $NetBSD: procfs_vnops.c,v 1.28 1994/11/14 06:08:21 christos Exp $ */
/* $NetBSD: procfs_vnops.c,v 1.29 1994/12/14 18:47:46 mycroft Exp $ */
/*
* Copyright (c) 1993 Jan-Simon Pendry
@ -111,7 +111,6 @@ procfs_open(ap)
int a_mode;
struct ucred *a_cred;
struct proc *a_p;
struct file *a_fp;
} */ *ap;
{
struct pfsnode *pfs = VTOPFS(ap->a_vp);

View File

@ -1,4 +1,4 @@
/* $NetBSD: spec_vnops.c,v 1.21 1994/12/13 20:14:46 mycroft Exp $ */
/* $NetBSD: spec_vnops.c,v 1.22 1994/12/14 18:49:38 mycroft Exp $ */
/*
* Copyright (c) 1989, 1993
@ -135,7 +135,6 @@ spec_open(ap)
int a_mode;
struct ucred *a_cred;
struct proc *a_p;
struct file *a_fp;
} */ *ap;
{
struct vnode *bvp, *vp = ap->a_vp;
@ -178,8 +177,7 @@ spec_open(ap)
}
}
VOP_UNLOCK(vp);
error = (*cdevsw[maj].d_open)(dev, ap->a_mode, S_IFCHR,
ap->a_p, ap->a_fp);
error = (*cdevsw[maj].d_open)(dev, ap->a_mode, S_IFCHR, ap->a_p);
VOP_LOCK(vp);
return (error);
@ -199,8 +197,7 @@ spec_open(ap)
*/
if (error = vfs_mountedon(vp))
return (error);
return ((*bdevsw[maj].d_open)(dev, ap->a_mode, S_IFBLK,
ap->a_p, ap->a_fp));
return ((*bdevsw[maj].d_open)(dev, ap->a_mode, S_IFBLK, ap->a_p));
}
return (0);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: union_vnops.c,v 1.13 1994/12/14 16:31:20 mycroft Exp $ */
/* $NetBSD: union_vnops.c,v 1.14 1994/12/14 18:47:48 mycroft Exp $ */
/*
* Copyright (c) 1992, 1993, 1994 The Regents of the University of California.
@ -472,7 +472,6 @@ union_open(ap)
int a_mode;
struct ucred *a_cred;
struct proc *a_p;
struct file *a_fp;
} */ *ap;
{
struct union_node *un = VTOUNION(ap->a_vp);