Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Aug 2017 10:33:47 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r321921 - head/cddl/contrib/opensolaris/lib/libzfs/common
Message-ID:  <201708021033.v72AXlbj068915@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Wed Aug  2 10:33:47 2017
New Revision: 321921
URL: https://svnweb.freebsd.org/changeset/base/321921

Log:
  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
  MFC after:	3 days

Modified:
  head/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_compat.c

Modified: head/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_compat.c
==============================================================================
--- head/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_compat.c	Wed Aug  2 10:14:17 2017	(r321920)
+++ head/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_compat.c	Wed Aug  2 10:33:47 2017	(r321921)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708021033.v72AXlbj068915>