From 57b650b86f15793195f9bf2185e1161c7c67904d Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Thu, 1 Aug 2013 09:39:46 -0700 Subject: [PATCH] Export additional dmu symbols The dmu_prefetch, dmu_free_long_range, dmu_free_object, dmu_prealloc, dmu_write_policy, and dmu_sync symbols have been exported so they may be used by other modules. Signed-off-by: Brian Behlendorf --- module/zfs/dmu.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/module/zfs/dmu.c b/module/zfs/dmu.c index e85635654..20b9d8965 100644 --- a/module/zfs/dmu.c +++ b/module/zfs/dmu.c @@ -1976,9 +1976,13 @@ dmu_fini(void) EXPORT_SYMBOL(dmu_bonus_hold); EXPORT_SYMBOL(dmu_buf_hold_array_by_bonus); EXPORT_SYMBOL(dmu_buf_rele_array); +EXPORT_SYMBOL(dmu_prefetch); EXPORT_SYMBOL(dmu_free_range); +EXPORT_SYMBOL(dmu_free_long_range); +EXPORT_SYMBOL(dmu_free_object); EXPORT_SYMBOL(dmu_read); EXPORT_SYMBOL(dmu_write); +EXPORT_SYMBOL(dmu_prealloc); EXPORT_SYMBOL(dmu_object_info); EXPORT_SYMBOL(dmu_object_info_from_dnode); EXPORT_SYMBOL(dmu_object_info_from_db); @@ -1986,6 +1990,8 @@ EXPORT_SYMBOL(dmu_object_size_from_db); EXPORT_SYMBOL(dmu_object_set_blocksize); EXPORT_SYMBOL(dmu_object_set_checksum); EXPORT_SYMBOL(dmu_object_set_compress); +EXPORT_SYMBOL(dmu_write_policy); +EXPORT_SYMBOL(dmu_sync); EXPORT_SYMBOL(dmu_request_arcbuf); EXPORT_SYMBOL(dmu_return_arcbuf); EXPORT_SYMBOL(dmu_assign_arcbuf);