summaryrefslogtreecommitdiff
path: root/usr/src/common/zfs/zfs_prop.c
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/zfs_prop.c
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/zfs_prop.c')
-rw-r--r--usr/src/common/zfs/zfs_prop.c2
1 files changed, 1 insertions, 1 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));