HomeFreeBSD

Correct compilation errors reported by GCC 10/11

Description

Correct compilation errors reported by GCC 10/11

New zfs_type_t value ZFS_TYPE_INVALID is introduced.
Variable initialization is now possible to make GCC happy.

Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: szubersk <szuberskidamian@gmail.com>
Closes #12167
Closes #13103

Details

Provenance
Damian Szuberski <szuberskidamian@gmail.com>Authored on Feb 21 2022, 3:20 AM
GitHub <noreply@github.com>Committed on Feb 21 2022, 3:20 AM
Parents
rGe41013078a90: libzfs: Fail making a dataset handle gracefully
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG806739f991aa: Correct compilation errors reported by GCC 10/11 (authored by Damian Szuberski <szuberskidamian@gmail.com>).Feb 21 2022, 3:20 AM