HomeFreeBSD

Use zfs_ioctl() in zinject.c

Description

Use zfs_ioctl() in zinject.c

Consistently use the zfs_ioctl() wrapper since ioctl() cannot be
called directly due to differing semantics between platforms.

Follow up PR to #9492.

Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Jorgen Lundman <lundman@lundman.net>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Matt Macy <mmacy@FreeBSD.org>
Closes #9507

Details

Provenance
mmacyAuthored on Oct 25 2019, 8:50 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Oct 25 2019, 8:50 PM
Parents
rG0ee89a1252f2: Remove non-portable pointer is valid assert
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG24cf9f4eb2bb: Use zfs_ioctl() in zinject.c (authored by mmacy).Oct 25 2019, 8:50 PM