From edf60b864505497dc8c4f09d4ce2190c72f1e2c2 Mon Sep 17 00:00:00 2001 From: Chunwei Chen Date: Mon, 14 Aug 2017 14:28:43 -0700 Subject: Enforce PROP_ONETIME on zpool properties Reviewed-by: Brian Behlendorf Signed-off-by: Chunwei Chen Closes #7661 --- include/sys/fs/zfs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/sys') 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 **); -- cgit v1.2.3