Fix compile-time warnings caused by duplicate struct typedefs
commita9851ea3dd6af6f789e221f2ccd7ad43561eff81
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sun, 20 Oct 2024 16:43:16 +0000 (21 01:43 +0900)
committerGitHub <noreply@github.com>
Sun, 20 Oct 2024 16:43:16 +0000 (20 09:43 -0700)
tree49ffc361397d0c784da216df99cbb6d6d3e2bd34
parentfba6a90696eaa74dc19531995484218f7e900339
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
include/os/linux/spl/sys/taskq.h
include/os/linux/zfs/sys/abd_os.h