]> granicus.if.org Git - zfs/commitdiff
Export symbols dsl_sync_task{_nowait}
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 7 Mar 2014 17:57:28 +0000 (09:57 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 7 Mar 2014 18:01:36 +0000 (10:01 -0800)
These are needed by consumers (i.e. Lustre) who wish to perform a
callback in the syncing context.  Both a blocking and non-blocking
version are available to callers.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
module/zfs/dsl_synctask.c

index 6ad0ede097077cf8d3dde7c56fe3832525135966..5f345f498a8445dafd52fe82409510f4ecafeaaf 100644 (file)
@@ -174,4 +174,6 @@ dsl_sync_task_sync(dsl_sync_task_t *dst, dmu_tx_t *tx)
 }
 
 #if defined(_KERNEL) && defined(HAVE_SPL)
+EXPORT_SYMBOL(dsl_sync_task);
+EXPORT_SYMBOL(dsl_sync_task_nowait);
 #endif