diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2012-04-22 05:43:15 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2012-04-22 05:43:15 +0000 |
commit | 2ca2111afa9d6ac1630b3e28226abd9d97b4e431 (patch) | |
tree | 32e68dee26390c4060d3b55fa2b8bded925f1c94 /sys/compat/linux/linux_file.c | |
parent | 856ac2591baaf667bfcf163c7fbcb9f5a766137e (diff) |
Add struct proc * argument to FRELE() and FILE_SET_MATURE() in
anticipation of further changes to closef(). No binary change.
ok krw@ miod@ deraadt@
Diffstat (limited to 'sys/compat/linux/linux_file.c')
-rw-r--r-- | sys/compat/linux/linux_file.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |