X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=module%2Fzcommon%2Fzpool_prop.c;h=37d977f47f6cf5a071f23093392b9b45cd24d259;hb=c28b227942b421ebdc03c9df9a012642fb517223;hp=988d05de6e209ee3fffe0b6e97e878386d9c2928;hpb=00b46022c676e402e3f33ce93ee2983bbad2c46f;p=mirror_zfs.git diff --git a/module/zcommon/zpool_prop.c b/module/zcommon/zpool_prop.c index 988d05de6..37d977f47 100644 --- a/module/zcommon/zpool_prop.c +++ b/module/zcommon/zpool_prop.c @@ -200,3 +200,19 @@ zpool_prop_align_right(zpool_prop_t prop) return (zpool_prop_table[prop].pd_rightalign); } #endif + +#if defined(_KERNEL) && defined(HAVE_SPL) +/* zpool property functions */ +EXPORT_SYMBOL(zpool_prop_init); +EXPORT_SYMBOL(zpool_prop_get_type); +EXPORT_SYMBOL(zpool_prop_get_table); + +/* Pool property functions shared between libzfs and kernel. */ +EXPORT_SYMBOL(zpool_name_to_prop); +EXPORT_SYMBOL(zpool_prop_to_name); +EXPORT_SYMBOL(zpool_prop_default_string); +EXPORT_SYMBOL(zpool_prop_default_numeric); +EXPORT_SYMBOL(zpool_prop_readonly); +EXPORT_SYMBOL(zpool_prop_index_to_string); +EXPORT_SYMBOL(zpool_prop_string_to_index); +#endif