diff options
author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2016-11-29 00:21:21 +0000 |
---|---|---|
committer | Jerry Jelinek <jerry.jelinek@joyent.com> | 2016-11-29 00:21:47 +0000 |
commit | 90fa1a0e184c887ef2a0987fa046c3aeb6f12c6b (patch) | |
tree | cdc0a23a72719d576d801b95c8be91412b1145a5 | |
parent | d02f22d362b5c88acbacb1a8310c7ddf78ebdc3e (diff) | |
download | illumos-joyent-90fa1a0e184c887ef2a0987fa046c3aeb6f12c6b.tar.gz |
Revert "7571 non-present readonly numeric ZFS props do not have default value"
This reverts commit ad2760acbd9c3b479bf632f05c6f03d89830799d.
-rw-r--r-- | usr/src/lib/libzfs/common/libzfs_dataset.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/src/lib/libzfs/common/libzfs_dataset.c b/usr/src/lib/libzfs/common/libzfs_dataset.c index bbb0acaa3d..c316bd72dd 100644 --- a/usr/src/lib/libzfs/common/libzfs_dataset.c +++ b/usr/src/lib/libzfs/common/libzfs_dataset.c @@ -22,7 +22,7 @@ /* * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2013, Joyent, Inc. All rights reserved. - * Copyright (c) 2011, 2016 by Delphix. All rights reserved. + * Copyright (c) 2011, 2015 by Delphix. All rights reserved. * Copyright (c) 2012 DEY Storage Systems, Inc. All rights reserved. * Copyright (c) 2011-2012 Pawel Jakub Dawidek. All rights reserved. * Copyright (c) 2013 Martin Matuska. All rights reserved. @@ -2139,7 +2139,6 @@ get_numeric_property(zfs_handle_t *zhp, zfs_prop_t prop, zprop_source_t *src, if (zfs_prop_readonly(prop) && *source != NULL && (*source)[0] == '\0') { *source = NULL; - return (-1); } break; |