diff options
author | mav <mav@FreeBSD.org> | 2017-08-05 08:35:13 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2017-08-05 08:35:13 +0000 |
commit | 06e8d6e1f9a7ab4a00dc13ecb8fc96b0c871c7f0 (patch) | |
tree | 9af38b2d2ec7865fb27f536115d8a22c1130cb68 /cddl/contrib/opensolaris/lib/libzfs/common | |
parent | 0eaab5f174a3c197b023b83b8911c7ed5189fc67 (diff) | |
download | FreeBSD-src-06e8d6e1f9a7ab4a00dc13ecb8fc96b0c871c7f0.zip FreeBSD-src-06e8d6e1f9a7ab4a00dc13ecb8fc96b0c871c7f0.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
Diffstat (limited to 'cddl/contrib/opensolaris/lib/libzfs/common')
-rw-r--r-- | cddl/contrib/opensolaris/lib/libzfs/common/libzfs_compat.c | 3 |
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; |