FreeBSD: make zfs_vfs_held() definition consistent with declaration
commit62cc9d4f6b5ad3a16b97f6389828b20331863f40
authorDimitry Andric <dimitry@andric.com>
Fri, 21 Apr 2023 17:22:52 +0000 (21 19:22 +0200)
committerGitHub <noreply@github.com>
Fri, 21 Apr 2023 17:22:52 +0000 (21 10:22 -0700)
tree748dd82afe363aa8f2407d9be6c001c5412e1d5c
parent8eae2d214cfa53862833eeeda9a5c1e9d5ded47d
FreeBSD: make zfs_vfs_held() definition consistent with declaration

Noticed while attempting to change FreeBSD's boolean_t into an actual
bool: in include/sys/zfs_ioctl_impl.h, zfs_vfs_held() is declared to
return a boolean_t, but in module/os/freebsd/zfs/zfs_ioctl_os.c it is
defined to return an int. Make the definition match the declaration.

Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Atkinson <batkinson@lanl.gov>
Signed-off-by: Dimitry Andric <dimitry@andric.com>
Closes #14776
module/os/freebsd/zfs/zfs_ioctl_os.c