aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/zfs/zrlock.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/module/zfs/zrlock.c b/module/zfs/zrlock.c
index 36134431f..84123f988 100644
--- a/module/zfs/zrlock.c
+++ b/module/zfs/zrlock.c
@@ -194,3 +194,14 @@ zrl_owner(zrlock_t *zrl)
return (zrl->zr_owner);
}
#endif
+
+#if defined(_KERNEL) && defined(HAVE_SPL)
+
+#ifdef ZFS_DEBUG
+EXPORT_SYMBOL(zrl_add_debug);
+#else
+EXPORT_SYMBOL(zrl_add);
+#endif
+EXPORT_SYMBOL(zrl_remove);
+
+#endif