From 40a806df259c0b826b8e962579dff64e8dfbf0d7 Mon Sep 17 00:00:00 2001 From: Ned Bass Date: Mon, 30 Sep 2013 16:29:37 -0700 Subject: 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 --- module/zfs/dsl_pool.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'module') 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"); -- cgit v1.2.3