From 2ca2111afa9d6ac1630b3e28226abd9d97b4e431 Mon Sep 17 00:00:00 2001 From: Philip Guenthe Date: Sun, 22 Apr 2012 05:43:15 +0000 Subject: Add struct proc * argument to FRELE() and FILE_SET_MATURE() in anticipation of further changes to closef(). No binary change. ok krw@ miod@ deraadt@ --- sys/compat/linux/linux_file.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/compat/linux/linux_file.c') diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c index 5c1a1bd2cec..e06c8b1bbfa 100644 --- a/sys/compat/linux/linux_file.c +++ b/sys/compat/linux/linux_file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_file.c,v 1.26 2011/11/25 10:10:05 robert Exp $ */ +/* $OpenBSD: linux_file.c,v 1.27 2012/04/22 05:43:14 guenther Exp $ */ /* $NetBSD: linux_file.c,v 1.15 1996/05/20 01:59:09 fvdl Exp $ */ /* @@ -200,7 +200,7 @@ linux_sys_open(p, v, retval) FREF(fp); if (fp->f_type == DTYPE_VNODE) (fp->f_ops->fo_ioctl) (fp, TIOCSCTTY, (caddr_t) 0, p); - FRELE(fp); + FRELE(fp, p); } return 0; } @@ -425,7 +425,7 @@ linux_sys_fcntl(p, v, retval) return EINVAL; FREF(fp); error = VOP_GETATTR(vp, &va, p->p_ucred, p); - FRELE(fp); + FRELE(fp, p); if (error) return error; d_tty = cdevsw[major(va.va_rdev)].d_tty; -- cgit v1.2.3