aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/dnode.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2019-07-15 16:11:55 -0700
committerGitHub <[email protected]>2019-07-15 16:11:55 -0700
commit64f3d39ae429e56db5e3b40ab7a5fdffd6b8a5ff (patch)
treec307c575d6b31cac4f9af3b8e716b13bf2211645 /module/zfs/dnode.c
parent9949b856a0435d064afd7d1d929d55e5572b0831 (diff)
Export dnode symbols
External consumers such as Lustre require access to the dnode interfaces in order to correctly manipulate dnodes. Reviewed-by: James Simmons <[email protected]> Reviewed-by: Olaf Faaland <[email protected]> Reviewed-by: George Melikov <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Issue #8994 Closes #9027
Diffstat (limited to 'module/zfs/dnode.c')
-rw-r--r--module/zfs/dnode.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/module/zfs/dnode.c b/module/zfs/dnode.c
index 4d654e9e7..d7cd5ce78 100644
--- a/module/zfs/dnode.c
+++ b/module/zfs/dnode.c
@@ -2502,3 +2502,13 @@ out:
return (error);
}
+
+#if defined(_KERNEL)
+EXPORT_SYMBOL(dnode_hold);
+EXPORT_SYMBOL(dnode_rele);
+EXPORT_SYMBOL(dnode_set_nlevels);
+EXPORT_SYMBOL(dnode_set_blksz);
+EXPORT_SYMBOL(dnode_free_range);
+EXPORT_SYMBOL(dnode_evict_dbufs);
+EXPORT_SYMBOL(dnode_evict_bonus);
+#endif