From e74400155f40f21361e9e3015396c3b0152a33fd Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Fri, 7 Mar 2014 09:57:28 -0800 Subject: [PATCH] Export symbols dsl_sync_task{_nowait} 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 --- module/zfs/dsl_synctask.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/zfs/dsl_synctask.c b/module/zfs/dsl_synctask.c index 6ad0ede097..5f345f498a 100644 --- a/module/zfs/dsl_synctask.c +++ b/module/zfs/dsl_synctask.c @@ -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