summaryrefslogtreecommitdiffstats
path: root/module/zfs/dsl_synctask.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2014-03-07 09:57:28 -0800
committerBrian Behlendorf <[email protected]>2014-03-07 10:01:36 -0800
commite74400155f40f21361e9e3015396c3b0152a33fd (patch)
tree167f86900f959615f1ac32fabaf50278137e50c9 /module/zfs/dsl_synctask.c
parenta77c4c8332ea17293bb6565409f8c04a6dd2135b (diff)
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 <[email protected]>
Diffstat (limited to 'module/zfs/dsl_synctask.c')
-rw-r--r--module/zfs/dsl_synctask.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/zfs/dsl_synctask.c b/module/zfs/dsl_synctask.c
index 6ad0ede09..5f345f498 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