]> git.proxmox.com Git - mirror_zfs.git/commit
Linux 6.6 compat: fix implicit conversion error with debug build
authorUmer Saleem <usaleem@ixsystems.com>
Tue, 7 Nov 2023 21:24:16 +0000 (02:24 +0500)
committerGitHub <noreply@github.com>
Tue, 7 Nov 2023 21:24:16 +0000 (13:24 -0800)
commit9198de8f1079a8bbb837de3e3f8e236777b1375d
treee4885e6b93c724ee943c31217eaf5ec715e43236
parentdc45a00eac35a2e66c3ddba6e52e2b2280bd2be0
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
module/os/linux/zfs/zfs_vfsops.c