diff options
author | avg <avg@FreeBSD.org> | 2018-04-06 11:42:08 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2018-04-06 11:42:08 +0000 |
commit | 3c5aaefa7f19e11d06074f59daff76eb69e5c517 (patch) | |
tree | 9b96ef48cf20908511ca31eff179c3db1eeb250c /cddl | |
parent | fd9fef2a71edcba0e55bb4eae6410f4a7f8bc73d (diff) | |
download | FreeBSD-src-3c5aaefa7f19e11d06074f59daff76eb69e5c517.zip FreeBSD-src-3c5aaefa7f19e11d06074f59daff76eb69e5c517.tar.gz |
MFC r330295: ZFS: fix adding vdevs to very large pools
PR: 226096
Diffstat (limited to 'cddl')
-rw-r--r-- | cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c b/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c index 2a7c021..e6fba3b 100644 --- a/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c +++ b/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c @@ -916,6 +916,7 @@ zpool_read_label(int fd, nvlist_t **config) free(label); *config = NULL; + errno = ENOENT; return (-1); } |