]> git.proxmox.com Git - mirror_zfs.git/commit
drr_begin: can't forward declare untagged struct
authorJorgen Lundman <lundman@lundman.net>
Tue, 16 Jun 2020 18:57:04 +0000 (03:57 +0900)
committerGitHub <noreply@github.com>
Tue, 16 Jun 2020 18:57:04 +0000 (11:57 -0700)
commitcd07d7c83f83f8b7aed655ea20ab08f6f660a3bb
treec2193005776aebfbe82e0950f8a57dfcebc47e63
parent86a0f4948363cc196d1ad6de9ba8685999bf8cdd
drr_begin: can't forward declare untagged struct

When compiling with Clang++ it does not allow for untagged structs, so
struct ddr_begin needs to be declared before the struct that uses it.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Jorgen Lundman <lundman@lundman.net>
Closes #10453
include/sys/zfs_ioctl.h