Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2018 21:42:32 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org
Subject:   svn commit: r337016 - vendor/illumos/dist/lib/libzfs/common
Message-ID:  <201807312142.w6VLgW1g059001@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Tue Jul 31 21:42:31 2018
New Revision: 337016
URL: https://svnweb.freebsd.org/changeset/base/337016

Log:
  9237 "zpool add" fails for very large pools
  
  illumos/illumos-gate@ae5ee1bd5e54409b4589217b160c8cf4b81e2fb8
  
  Reviewed by: Matthew Ahrens <mahrens@delphix.com>
  Reviewed by: Andriy Gapon <avg@FreeBSD.org>
  Approved by: Matt Ahrens <mahrens@delphix.com>
  Author:     Alan Somers <asomers@gmail.com>

Modified:
  vendor/illumos/dist/lib/libzfs/common/libzfs_import.c

Modified: vendor/illumos/dist/lib/libzfs/common/libzfs_import.c
==============================================================================
--- vendor/illumos/dist/lib/libzfs/common/libzfs_import.c	Tue Jul 31 21:40:13 2018	(r337015)
+++ vendor/illumos/dist/lib/libzfs/common/libzfs_import.c	Tue Jul 31 21:42:31 2018	(r337016)
@@ -895,6 +895,7 @@ zpool_read_label(int fd, nvlist_t **config)
 
 	free(label);
 	*config = NULL;
+	errno = ENOENT;
 	return (-1);
 }
 



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