From 86801389684056eda3bbad669976ebf2f8c39326 Mon Sep 17 00:00:00 2001 From: "Ricardo M. Correia" Date: Wed, 11 Mar 2009 06:24:27 +0000 Subject: [PATCH] Add missing EXPORT_SYMBOL() macro. ZFS consumers such as Lustre should have access to these symbols. --- module/zfs/dmu_objset.c | 1 + module/zfs/dmu_tx.c | 1 + module/zfs/zap_micro.c | 12 +++++++++++- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/module/zfs/dmu_objset.c b/module/zfs/dmu_objset.c index 8e26eaa348..a3909f553e 100644 --- a/module/zfs/dmu_objset.c +++ b/module/zfs/dmu_objset.c @@ -1295,4 +1295,5 @@ EXPORT_SYMBOL(dmu_objset_byteswap); /* Get stats on a dataset. */ EXPORT_SYMBOL(dmu_objset_fast_stat); EXPORT_SYMBOL(dmu_objset_stats); +EXPORT_SYMBOL(dmu_objset_space); #endif diff --git a/module/zfs/dmu_tx.c b/module/zfs/dmu_tx.c index bf8fdd4dbd..1cb3e8c7b5 100644 --- a/module/zfs/dmu_tx.c +++ b/module/zfs/dmu_tx.c @@ -1077,4 +1077,5 @@ EXPORT_SYMBOL(dmu_tx_abort); EXPORT_SYMBOL(dmu_tx_assign); EXPORT_SYMBOL(dmu_tx_wait); EXPORT_SYMBOL(dmu_tx_commit); +EXPORT_SYMBOL(dmu_tx_get_txg); #endif diff --git a/module/zfs/zap_micro.c b/module/zfs/zap_micro.c index 9c77d0d7f5..66dcf4710e 100644 --- a/module/zfs/zap_micro.c +++ b/module/zfs/zap_micro.c @@ -1108,7 +1108,17 @@ zap_get_stats(objset_t *os, uint64_t zapobj, zap_stats_t *zs) } #if defined(_KERNEL) && defined(HAVE_SPL) -EXPORT_SYMBOL(zap_update); +EXPORT_SYMBOL(zap_add); +EXPORT_SYMBOL(zap_create); +EXPORT_SYMBOL(zap_cursor_advance); +EXPORT_SYMBOL(zap_cursor_fini); +EXPORT_SYMBOL(zap_cursor_init); +EXPORT_SYMBOL(zap_cursor_init_serialized); +EXPORT_SYMBOL(zap_cursor_move_to_key); +EXPORT_SYMBOL(zap_cursor_retrieve); +EXPORT_SYMBOL(zap_cursor_serialize); EXPORT_SYMBOL(zap_lookup); EXPORT_SYMBOL(zap_lookup_norm); +EXPORT_SYMBOL(zap_remove); +EXPORT_SYMBOL(zap_update); #endif