HomeFreeBSD

Dedup IOC enum values in libzfs_input_check

Description

Dedup IOC enum values in libzfs_input_check

Reuse enum value ZFS_IOC_BASE for ('Z' << 8).
This is helpful on FreeBSD where ZFS_IOC_BASE has a different value and
('Z' << 8) is wrong.

Reviewed-by: Chris Dunlop <chris@onthe.net.au>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@ixsystems.com>
Closes #9188

Details

Provenance
freqlabsAuthored on Aug 22 2019, 4:46 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Aug 22 2019, 4:46 PM
Parents
rGf591a581d6b5: Enhance ioctl number checks
Branches
Unknown
Tags
Unknown

Event Timeline