From 64f3d39ae429e56db5e3b40ab7a5fdffd6b8a5ff Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Mon, 15 Jul 2019 16:11:55 -0700 Subject: Export dnode symbols External consumers such as Lustre require access to the dnode interfaces in order to correctly manipulate dnodes. Reviewed-by: James Simmons Reviewed-by: Olaf Faaland Reviewed-by: George Melikov Signed-off-by: Brian Behlendorf Issue #8994 Closes #9027 --- module/zfs/dnode.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'module/zfs/dnode.c') 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 -- cgit v1.2.3