Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Apr 2018 11:42:09 +0000 (UTC)
From:      Andriy Gapon <avg@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: r332093 - stable/11/cddl/contrib/opensolaris/lib/libzfs/common
Message-ID:  <201804061142.w36Bg9Rh089295@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Fri Apr  6 11:42:08 2018
New Revision: 332093
URL: https://svnweb.freebsd.org/changeset/base/332093

Log:
  MFC r330295: ZFS: fix adding vdevs to very large pools
  
  PR:		226096

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

Modified: stable/11/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c
==============================================================================
--- stable/11/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c	Fri Apr  6 11:20:06 2018	(r332092)
+++ stable/11/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c	Fri Apr  6 11:42:08 2018	(r332093)
@@ -916,6 +916,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?201804061142.w36Bg9Rh089295>