HomeFreeBSD

Fix compile-time warnings caused by duplicate struct typedefs

Description

Fix compile-time warnings caused by duplicate struct typedefs

Some compiler/versions warn these typedefs according to #16660.

The platform specific header sys/abd_os.h shouldn't define or use abd_t,
as it's defined in its non-platform specific consumer sys/abd.h.
Do the same as what FreeBSD header does.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Closes #16660
Closes #16665

Details

Provenance
kusumi.tomohiro_gmail.comAuthored on Oct 20 2024, 4:43 PM
GitHub <noreply@github.com>Committed on Oct 20 2024, 4:43 PM
Parents
rGfba6a90696ea: zfs_debug: Restore log size limit for userspace
Branches
Unknown
Tags
Unknown