]> granicus.if.org Git - zfs/commitdiff
Export dnode symbols
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 15 Jul 2019 23:11:55 +0000 (16:11 -0700)
committerGitHub <noreply@github.com>
Mon, 15 Jul 2019 23:11:55 +0000 (16:11 -0700)
External consumers such as Lustre require access to the dnode
interfaces in order to correctly manipulate dnodes.

Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #8994
Closes #9027

module/zfs/dnode.c

index 4d654e9e72521ba8815f2632b87c5fc1963ff6c0..d7cd5ce784e7d77c40d662e3232a2ba49c6c02bb 100644 (file)
@@ -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