summaryrefslogtreecommitdiffstats
path: root/include/sys/fs
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2017-01-17 14:45:02 -0800
committerGitHub <[email protected]>2017-01-17 14:45:02 -0800
commit648a09adc25cc1b8b9bec72130ab219a3e544b56 (patch)
tree08051b2966eda2dc764e1faa5fab30b19540318a /include/sys/fs
parent8e896579562385b76fd44b7c86084f452043e7fd (diff)
OpenZFS 6550 - cmd/zfs: cleanup gcc warnings
Porting Notes: - Many of the fixes proposed by this patch were already applied. In the cases where a different but equivalent fix was made the code was updated with the OpenZFS version to minimize differences. Authored by: Igor Kozhukhov <[email protected]> Reviewed by: Matthew Ahrens <[email protected]> Reviewed by: Andy Stormont <[email protected]> Approved by: Dan McDonald <[email protected]> Reviewed-by: George Melikov <[email protected]> Ported-by: Brian Behlendorf <[email protected]> OpenZFS-issue: https://www.illumos.org/issues/6550 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/c16bcc4 Closes #5591
Diffstat (limited to 'include/sys/fs')
-rw-r--r--include/sys/fs/zfs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sys/fs/zfs.h b/include/sys/fs/zfs.h
index 45b6d4981..f09e4bfa0 100644
--- a/include/sys/fs/zfs.h
+++ b/include/sys/fs/zfs.h
@@ -82,7 +82,8 @@ typedef enum dmu_objset_type {
* the property table in module/zcommon/zfs_prop.c.
*/
typedef enum {
- ZFS_PROP_TYPE,
+ ZFS_PROP_BAD = -1,
+ ZFS_PROP_TYPE = 0,
ZFS_PROP_CREATION,
ZFS_PROP_USED,
ZFS_PROP_AVAILABLE,