summaryrefslogtreecommitdiff
path: root/usr/src/common/zfs
diff options
context:
space:
mode:
authorgw25295 <none@none>2008-05-22 12:51:35 -0700
committergw25295 <none@none>2008-05-22 12:51:35 -0700
commit4853e976fadf3d55239638b6a1fee20681fde314 (patch)
tree7b85b8c399258d383f65fbc16f59105bc84c0981 /usr/src/common/zfs
parent745cd3c5371d020efae7a911c58c526aa1fd0dba (diff)
downloadillumos-joyent-4853e976fadf3d55239638b6a1fee20681fde314.tar.gz
6695219 Running 'zfs get all' on a snapshot should not display the user properties
Diffstat (limited to 'usr/src/common/zfs')
-rw-r--r--usr/src/common/zfs/zfs_prop.c2
-rw-r--r--usr/src/common/zfs/zfs_prop.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/common/zfs/zfs_prop.c b/usr/src/common/zfs/zfs_prop.c
index 78ac6fcc04..4103f59634 100644
--- a/usr/src/common/zfs/zfs_prop.c
+++ b/usr/src/common/zfs/zfs_prop.c
@@ -363,7 +363,7 @@ zfs_prop_index_to_string(zfs_prop_t prop, uint64_t index, const char **string)
/*
* Returns TRUE if the property applies to any of the given dataset types.
*/
-int
+boolean_t
zfs_prop_valid_for_type(int prop, zfs_type_t types)
{
return (zprop_valid_for_type(prop, types));
diff --git a/usr/src/common/zfs/zfs_prop.h b/usr/src/common/zfs/zfs_prop.h
index 08af3f4090..da5ae43093 100644
--- a/usr/src/common/zfs/zfs_prop.h
+++ b/usr/src/common/zfs/zfs_prop.h
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -120,7 +120,7 @@ int zprop_string_to_index(int, const char *, uint64_t *, zfs_type_t);
int zprop_index_to_string(int, uint64_t, const char **, zfs_type_t);
const char *zprop_values(int, zfs_type_t);
size_t zprop_width(int, boolean_t *, zfs_type_t);
-int zprop_valid_for_type(int, zfs_type_t);
+boolean_t zprop_valid_for_type(int, zfs_type_t);
#ifdef __cplusplus
}