diff options
author | Brian Behlendorf <[email protected]> | 2012-04-04 13:46:55 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2012-04-11 09:26:55 -0700 |
commit | f0fd83be65152a218c7daa1d006b53fb4b79bdce (patch) | |
tree | 6f7fb3f1db3f277095af9b58905ad9c82a327326 /module/zfs/dsl_prop.c | |
parent | 1f0d8a566f0251ff9404b98233ae8d5406c6d308 (diff) |
Export additional dsl symbols
Principly these symbols were exported to get access to the
dsl_prop_register/dsl_prop_unregister functions. They allow
us to cleanly register a callback which is called when a
dataset property is modified.
Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'module/zfs/dsl_prop.c')
-rw-r--r-- | module/zfs/dsl_prop.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/module/zfs/dsl_prop.c b/module/zfs/dsl_prop.c index c0e65d8bd..4b340b63a 100644 --- a/module/zfs/dsl_prop.c +++ b/module/zfs/dsl_prop.c @@ -1155,8 +1155,16 @@ dsl_prop_nvlist_add_string(nvlist_t *nv, zfs_prop_t prop, const char *value) } #if defined(_KERNEL) && defined(HAVE_SPL) +EXPORT_SYMBOL(dsl_prop_register); +EXPORT_SYMBOL(dsl_prop_unregister); +EXPORT_SYMBOL(dsl_prop_numcb); EXPORT_SYMBOL(dsl_prop_set); +EXPORT_SYMBOL(dsl_prop_get); +EXPORT_SYMBOL(dsl_prop_get_integer); EXPORT_SYMBOL(dsl_prop_get_all); +EXPORT_SYMBOL(dsl_prop_get_received); +EXPORT_SYMBOL(dsl_prop_get_ds); +EXPORT_SYMBOL(dsl_prop_get_dd); EXPORT_SYMBOL(dsl_prop_nvlist_add_uint64); -EXPORT_SYMBOL(dsl_prop_get_integer); +EXPORT_SYMBOL(dsl_prop_nvlist_add_string); #endif |