diff options
| author | 2002-08-23 15:39:31 +0000 | |
|---|---|---|
| committer | 2002-08-23 15:39:31 +0000 | |
| commit | 7e6979f80fd20f6d64c568b833c242f81f203237 (patch) | |
| tree | 7ab6b9b7d5485447a202bfe5729016655721e985 /sys/compat/linux/linux_misc.c | |
| parent | Use LIST_ macros for the list of all struct file. (diff) | |
| download | wireguard-openbsd-7e6979f80fd20f6d64c568b833c242f81f203237.tar.xz wireguard-openbsd-7e6979f80fd20f6d64c568b833c242f81f203237.zip | |
Cleanup change. Since almost all callers (except one) of getvnode did a FREF
on the returned file, do the FREF inside getvnode so that people can't
get away with avoiding FREF and FRELE.
Eyeballed by various people.
Diffstat (limited to 'sys/compat/linux/linux_misc.c')
| -rw-r--r-- | sys/compat/linux/linux_misc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index 31fe8cc71fd..d392fc85dda 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_misc.c,v 1.44 2002/07/25 22:18:27 nordin Exp $ */ +/* $OpenBSD: linux_misc.c,v 1.45 2002/08/23 15:39:31 art Exp $ */ /* $NetBSD: linux_misc.c,v 1.27 1996/05/20 01:59:21 fvdl Exp $ */ /* @@ -1021,7 +1021,6 @@ linux_sys_getdents(p, v, retval) args.resid = nbytes; args.outp = (caddr_t)SCARG(uap, dirent); - FREF(fp); if ((error = readdir_with_callback(fp, &fp->f_offset, nbytes, linux_readdir_callback, &args)) != 0) goto exit; |
