From: Ned Bass Date: Mon, 30 Sep 2013 23:29:37 +0000 (-0700) Subject: Export symbols dsl_pool_config_{enter,exit} X-Git-Tag: zfs-0.6.3~252 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=40a806df259c0b826b8e962579dff64e8dfbf0d7;p=zfs Export symbols dsl_pool_config_{enter,exit} These are needed by consumers (i.e. Lustre) who wish to use the dsl_prop_register() interface to register callbacks when pool properties of interest change. This interface requires that the DSL pool configuration lock is held when called. Signed-off-by: Brian Behlendorf Closes #1762 --- diff --git a/module/zfs/dsl_pool.c b/module/zfs/dsl_pool.c index b59e056bf..da4a9df85 100644 --- a/module/zfs/dsl_pool.c +++ b/module/zfs/dsl_pool.c @@ -1229,6 +1229,9 @@ dsl_pool_config_held(dsl_pool_t *dp) } #if defined(_KERNEL) && defined(HAVE_SPL) +EXPORT_SYMBOL(dsl_pool_config_enter); +EXPORT_SYMBOL(dsl_pool_config_exit); + module_param(zfs_no_write_throttle, int, 0644); MODULE_PARM_DESC(zfs_no_write_throttle, "Disable write throttling");