Author: avg
Date: Fri Apr  6 11:48:12 2018
New Revision: 332094
URL: https://svnweb.freebsd.org/changeset/base/332094

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

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

Modified: stable/10/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c
==============================================================================
--- stable/10/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c        
Fri Apr  6 11:42:08 2018        (r332093)
+++ stable/10/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c        
Fri Apr  6 11:48:12 2018        (r332094)
@@ -911,6 +911,7 @@ zpool_read_label(int fd, nvlist_t **config)
 
        free(label);
        *config = NULL;
+       errno = ENOENT;
        return (-1);
 }
 
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to