summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2017-08-05 08:36:04 +0000
committermav <mav@FreeBSD.org>2017-08-05 08:36:04 +0000
commit0dce89af7aa8b7d716338e45cc5c3228d4b23acd (patch)
treec7ed327d1dd577f8a0683ed4a4030dabaf58db9a
parentc4a159abfee86d3027bfb9ccd68f89b3d3dbaa82 (diff)
downloadFreeBSD-src-0dce89af7aa8b7d716338e45cc5c3228d4b23acd.zip
FreeBSD-src-0dce89af7aa8b7d716338e45cc5c3228d4b23acd.tar.gz
MFC r321921: Add compat shim part missed at r305197.
This fixes compatibility between old kernel and new ZFS tools. It seems to be tradition to forget it. PR: 221112
-rw-r--r--cddl/contrib/opensolaris/lib/libzfs/common/libzfs_compat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_compat.c b/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_compat.c
index b9ecd9d..7545331 100644
--- a/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_compat.c
+++ b/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_compat.c
@@ -74,6 +74,9 @@ zcmd_ioctl(int fd, int request, zfs_cmd_t *zc)
if (zfs_ioctl_version >= ZFS_IOCVER_DEADMAN) {
switch (zfs_ioctl_version) {
+ case ZFS_IOCVER_INLANES:
+ cflag = ZFS_CMD_COMPAT_INLANES;
+ break;
case ZFS_IOCVER_RESUME:
cflag = ZFS_CMD_COMPAT_RESUME;
break;
OpenPOWER on IntegriCloud