Make freebsd_sys_getfh use compat_30_sys_getfh

This commit is contained in:
martin 2006-07-13 16:28:38 +00:00
parent 99d7b7bca3
commit 508a062fec
2 changed files with 15 additions and 15 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: freebsd_file.c,v 1.21 2005/12/11 12:20:02 christos Exp $ */
/* $NetBSD: freebsd_file.c,v 1.22 2006/07/13 16:28:39 martin Exp $ */
/*
* Copyright (c) 1995 Frank van der Linden
@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: freebsd_file.c,v 1.21 2005/12/11 12:20:02 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: freebsd_file.c,v 1.22 2006/07/13 16:28:39 martin Exp $");
#if defined(_KERNEL_OPT)
#include "fs_nfs.h"
@ -588,7 +588,7 @@ freebsd_sys_getfh(l, v, retval)
caddr_t sg = stackgap_init(p, 0);
CHECK_ALT_EXIST(l, &sg, SCARG(uap, fname));
return sys_getfh(l, uap, retval);
return compat_30_sys_getfh(l, uap, retval);
}
#endif /* NFS */

View File

@ -1,4 +1,4 @@
# $NetBSD: files,v 1.785 2006/06/30 13:56:25 chap Exp $
# $NetBSD: files,v 1.786 2006/07/13 16:28:38 martin Exp $
# @(#)files.newconf 7.5 (Berkeley) 5/10/93
@ -81,8 +81,18 @@ defparam opt_pax.h PAX_MPROTECT
# compatibility options
#
defflag opt_compat_netbsd.h COMPAT_30
defflag opt_compat_netbsd.h COMPAT_20: COMPAT_30
defflag opt_compat_netbsd.h COMPAT_16: COMPAT_20
defflag opt_compat_netbsd.h COMPAT_15: COMPAT_16
defflag opt_compat_netbsd.h COMPAT_14: COMPAT_15
defflag opt_compat_netbsd.h COMPAT_13: COMPAT_14
defflag opt_compat_netbsd.h COMPAT_12: COMPAT_13
defflag opt_compat_netbsd.h COMPAT_11: COMPAT_12
defflag opt_compat_netbsd.h COMPAT_10: COMPAT_11
defflag opt_compat_netbsd.h COMPAT_09: COMPAT_10
defflag COMPAT_OSSAUDIO
defflag COMPAT_FREEBSD
defflag COMPAT_FREEBSD: COMPAT_30
defflag COMPAT_HPUX
defflag COMPAT_IBCS2
defflag COMPAT_IRIX
@ -100,16 +110,6 @@ defflag COMPAT_DARWIN
defflag COMPAT_VAX1K
defflag COMPAT_43
defflag COMPAT_PECOFF
defflag opt_compat_netbsd.h COMPAT_30
defflag opt_compat_netbsd.h COMPAT_20: COMPAT_30
defflag opt_compat_netbsd.h COMPAT_16: COMPAT_20
defflag opt_compat_netbsd.h COMPAT_15: COMPAT_16
defflag opt_compat_netbsd.h COMPAT_14: COMPAT_15
defflag opt_compat_netbsd.h COMPAT_13: COMPAT_14
defflag opt_compat_netbsd.h COMPAT_12: COMPAT_13
defflag opt_compat_netbsd.h COMPAT_11: COMPAT_12
defflag opt_compat_netbsd.h COMPAT_10: COMPAT_11
defflag opt_compat_netbsd.h COMPAT_09: COMPAT_10
defflag opt_compat_netbsd.h COMPAT_NOMID
#