]> granicus.if.org Git - zfs/commitdiff
Export symbols dsl_pool_config_{enter,exit}
authorNed Bass <bass6@llnl.gov>
Mon, 30 Sep 2013 23:29:37 +0000 (16:29 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 10 Oct 2013 23:56:51 +0000 (16:56 -0700)
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 <behlendorf1@llnl.gov>
Closes #1762

module/zfs/dsl_pool.c

index b59e056bfb57bbdd54526f87701d29500b417b49..da4a9df85449c2f6167d1feebc8b9d39bbb7b9e8 100644 (file)
@@ -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");