diff options
| author | 2012-04-22 05:43:14 +0000 | |
|---|---|---|
| committer | 2012-04-22 05:43:14 +0000 | |
| commit | 06a89b59aa60d7f9c0e1ea26802b0384ef0dc14c (patch) | |
| tree | 2a68460f65d82ea3089edac4aeb664d53b5154e8 /sys/compat/linux/linux_file.c | |
| parent | Fix printing commands with no arguments, from Benjamin Poirier. (diff) | |
| download | wireguard-openbsd-06a89b59aa60d7f9c0e1ea26802b0384ef0dc14c.tar.xz wireguard-openbsd-06a89b59aa60d7f9c0e1ea26802b0384ef0dc14c.zip | |
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; |
