mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-27 04:32:16 +03:00
Add linux kernel module support
Setup linux kernel module support, this includes: - zfs context for kernel/user - kernel module build system integration - kernel module macros - kernel module symbol export - kernel module options Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
@@ -1829,3 +1829,22 @@ dmu_fini(void)
|
||||
sa_cache_fini();
|
||||
zfs_dbgmsg_fini();
|
||||
}
|
||||
|
||||
#if defined(_KERNEL) && defined(HAVE_SPL)
|
||||
EXPORT_SYMBOL(dmu_bonus_hold);
|
||||
EXPORT_SYMBOL(dmu_free_range);
|
||||
EXPORT_SYMBOL(dmu_read);
|
||||
EXPORT_SYMBOL(dmu_write);
|
||||
|
||||
/* Get information on a DMU object. */
|
||||
EXPORT_SYMBOL(dmu_object_info);
|
||||
EXPORT_SYMBOL(dmu_object_info_from_dnode);
|
||||
EXPORT_SYMBOL(dmu_object_info_from_db);
|
||||
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_ot);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user