Files
mirror_zfs/tests/zfs-tests/cmd
Tomohiro Kusumi 703f791d35 Don't hard-code number of ioctls for portability
Use (ZFS_IOC_LAST - ZFS_IOC_FIRST) instead of 256.
It seems 256 is just a number large enough to hold ioctls
at the moment.

Using 256 also causes compile-time warning or error
on platfoms whose enum zfs_ioc definition differs.

Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Closes #8598
2019-04-14 11:13:34 -07:00
..
2016-03-16 13:46:16 -07:00
2016-03-16 13:46:16 -07:00
2017-05-22 12:34:32 -04:00
2017-05-22 12:34:32 -04:00
2018-04-12 10:50:39 -07:00
2017-05-22 12:34:32 -04:00
2018-03-28 10:19:22 -07:00
2016-03-16 13:46:16 -07:00
2016-03-16 13:46:16 -07:00
2016-10-08 14:57:56 -07:00
2016-03-16 13:46:16 -07:00
2017-05-22 12:34:32 -04:00