summaryrefslogtreecommitdiffstats
path: root/include/sys
diff options
context:
space:
mode:
authorChunwei Chen <[email protected]>2017-08-14 14:28:43 -0700
committerBrian Behlendorf <[email protected]>2018-06-28 14:49:17 -0700
commitedf60b864505497dc8c4f09d4ce2190c72f1e2c2 (patch)
tree25a0377164459fb001a530cd49ec025a7c7e4388 /include/sys
parent69830602de2d836013a91bd42cc8d36bbebb3aae (diff)
Enforce PROP_ONETIME on zpool properties
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Chunwei Chen <[email protected]> Closes #7661
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/fs/zfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/fs/zfs.h b/include/sys/fs/zfs.h
index 0ee9b00bd..76e61eb07 100644
--- a/include/sys/fs/zfs.h
+++ b/include/sys/fs/zfs.h
@@ -320,6 +320,7 @@ const char *zpool_prop_to_name(zpool_prop_t);
const char *zpool_prop_default_string(zpool_prop_t);
uint64_t zpool_prop_default_numeric(zpool_prop_t);
boolean_t zpool_prop_readonly(zpool_prop_t);
+boolean_t zpool_prop_setonce(zpool_prop_t);
boolean_t zpool_prop_feature(const char *);
boolean_t zpool_prop_unsupported(const char *);
int zpool_prop_index_to_string(zpool_prop_t, uint64_t, const char **);