From 1c08fa8b5ba1a03a012823d7c0157ec54c68f113 Mon Sep 17 00:00:00 2001 From: Ryan Moeller Date: Fri, 19 Jun 2020 18:12:34 -0400 Subject: [PATCH] Fix copy-paste error breaking FreeBSD head Resolve the FreeBSD head build failure. Reviewed-by: Brian Behlendorf Signed-off-by: Ryan Moeller Closes #10480 --- module/os/freebsd/zfs/zfs_vfsops.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/module/os/freebsd/zfs/zfs_vfsops.c b/module/os/freebsd/zfs/zfs_vfsops.c index 4edf1a0e75..92a53afc2b 100644 --- a/module/os/freebsd/zfs/zfs_vfsops.c +++ b/module/os/freebsd/zfs/zfs_vfsops.c @@ -1914,11 +1914,11 @@ zfs_vget(vfs_t *vfsp, ino_t ino, int flags, vnode_t **vpp) return (err); } -#if __FreeBSD_version >= 1300098 -static int zfs_checkexp(vfs_t *vfsp, struct sockaddr *nam, uint64_t *extflagsp, - struct ucred **credanonp, int *numsecflavors, int *secflavors); -#else static int +#if __FreeBSD_version >= 1300098 +zfs_checkexp(vfs_t *vfsp, struct sockaddr *nam, uint64_t *extflagsp, + struct ucred **credanonp, int *numsecflavors, int *secflavors) +#else zfs_checkexp(vfs_t *vfsp, struct sockaddr *nam, int *extflagsp, struct ucred **credanonp, int *numsecflavors, int **secflavors) #endif