Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 2017 08:35:13 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r322078 - stable/11/cddl/contrib/opensolaris/lib/libzfs/common
Message-ID:  <201708050835.v758ZD6H017578@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Sat Aug  5 08:35:13 2017
New Revision: 322078
URL: https://svnweb.freebsd.org/changeset/base/322078

Log:
  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

Modified:
  stable/11/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_compat.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_compat.c
==============================================================================
--- stable/11/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_compat.c	Sat Aug  5 07:52:15 2017	(r322077)
+++ stable/11/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_compat.c	Sat Aug  5 08:35:13 2017	(r322078)
@@ -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?201708050835.v758ZD6H017578>