HomeFreeBSD

Linux 6.6 compat: fix implicit conversion error with debug build

Description

Linux 6.6 compat: fix implicit conversion error with debug build

With Linux v6.6.0 and GCC 12, when debug build is configured,
implicit conversion error is raised while converting
'enum <anonymous>' to 'boolean_t'. Use 'B_TRUE' instead of
'true' to fix the issue.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Pavel Snajdr <snajpa@snajpa.net>
Reviewed-by: Brian Atkinson <batkinson@lanl.gov>
Signed-off-by: Umer Saleem <usaleem@ixsystems.com>
Closes #15489

Details

Provenance
Umer Saleem <usaleem@ixsystems.com>Authored on Nov 7 2023, 9:24 PM
GitHub <noreply@github.com>Committed on Nov 7 2023, 9:24 PM
Parents
rGdc45a00eac35: Add kern.features.zfs
Branches
Unknown
Tags
Unknown