summaryrefslogtreecommitdiffstats
path: root/include/zfs_comutil.h
diff options
context:
space:
mode:
authorloli10K <[email protected]>2019-10-11 01:39:41 +0200
committerBrian Behlendorf <[email protected]>2019-10-10 16:39:41 -0700
commit715c996d3b5e45897ff165f2e6610e1b57da47e4 (patch)
tree4c600a53be1551d992a0ea222cb60e93f28234f3 /include/zfs_comutil.h
parent2516a8782158a1d420aa00ce5f470a33cc7ec2ca (diff)
Fix pool creation with feature@allocation_classes disabled
When "feature@allocation_classes" is not enabled on the pool no vdev with "special" or "dedup" allocation type should be allowed to exist in the vdev tree. Reviewed-by: Pavel Zakharov <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: loli10K <[email protected]> Closes #9427 Closes #9429
Diffstat (limited to 'include/zfs_comutil.h')
-rw-r--r--include/zfs_comutil.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/zfs_comutil.h b/include/zfs_comutil.h
index 1360d6e1c..7cdc6d693 100644
--- a/include/zfs_comutil.h
+++ b/include/zfs_comutil.h
@@ -34,6 +34,7 @@ extern "C" {
#endif
extern boolean_t zfs_allocatable_devs(nvlist_t *);
+extern boolean_t zfs_special_devs(nvlist_t *);
extern void zpool_get_load_policy(nvlist_t *, zpool_load_policy_t *);
extern int zfs_zpl_version_map(int spa_version);