Return boolean_t in inline functions of lib/libspl/include/sys/uio.h
commitab777f436ce228559f3c2480ebe8a6b5ab888c43
authorMartin Matuška <mm@FreeBSD.org>
Mon, 7 Oct 2024 17:31:46 +0000 (7 19:31 +0200)
committerGitHub <noreply@github.com>
Mon, 7 Oct 2024 17:31:46 +0000 (7 10:31 -0700)
tree986bba088e4913690cc3e11494b15bd6f5035e45
parente8f0aa143e1b25d98624d4b2623a6e0fc42afb9e
Return boolean_t in inline functions of lib/libspl/include/sys/uio.h

The inline functions zfs_dio_offset_aligned(), zfs_dio_size_aligned()
and zfs_dio_aligned() are declared as boolean_t but return the bool
type.

This fixes the build of FreeBSD.

Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Martin Matuska <mm@FreeBSD.org>
Closes #16613
lib/libspl/include/sys/uio.h