forked from openzfs/zfs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OpenZFS 8898 - creating fs with checksum=skein on the boot pools fail…
…s ungracefully Authored by: Yuri Pankov <[email protected]> Reviewed by: Toomas Soome <[email protected]> Reviewed by: Andy Stormont <[email protected]> Reviewed-by: George Melikov <[email protected]> Approved by: Dan McDonald <[email protected]> Ported-by: Brian Behlendorf <[email protected]> OpenZFS-issue: https://www.illumos.org/issues/8898 OpenZFS-commit: openzfs/openzfs@9fa2266d9a Closes openzfs#7031
- Loading branch information
Showing
2 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ | |
* Copyright (c) 2012 Pawel Jakub Dawidek <[email protected]>. | ||
* Copyright (c) 2013 Martin Matuska. All rights reserved. | ||
* Copyright (c) 2013 Steven Hartland. All rights reserved. | ||
* Copyright 2016 Nexenta Systems, Inc. | ||
* Copyright 2017 Nexenta Systems, Inc. | ||
* Copyright 2016 Igor Kozhukhov <[email protected]> | ||
* Copyright 2017 RackTop Systems. | ||
*/ | ||
|
@@ -3583,6 +3583,10 @@ zfs_create(libzfs_handle_t *hdl, const char *path, zfs_type_t type, | |
"or provided")); | ||
return (zfs_error(hdl, EZFS_CRYPTOFAILED, errbuf)); | ||
|
||
case ERANGE: | ||
zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, | ||
"invalid property value(s) specified")); | ||
return (zfs_error(hdl, EZFS_BADPROP, errbuf)); | ||
#ifdef _ILP32 | ||
case EOVERFLOW: | ||
/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters