From 01812876c149506d79cd37e318a95cf5fbb734c1 Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Wed, 9 Mar 2016 16:05:13 +0000 Subject: [PATCH] Missed addition to r296563 to fix newer tools to work with older kernel. --- cddl/contrib/opensolaris/lib/libzfs/common/libzfs_compat.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_compat.c b/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_compat.c index 833e1b675741..b9ecd9dccfa0 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_RESUME: + cflag = ZFS_CMD_COMPAT_RESUME; + break; case ZFS_IOCVER_EDBP: cflag = ZFS_CMD_COMPAT_EDBP; break;