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:
@@ -197,3 +197,9 @@ zfs_znode_byteswap(void *buf, size_t size)
|
||||
ACE_SLOT_CNT);
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(_KERNEL) && defined(HAVE_SPL)
|
||||
EXPORT_SYMBOL(zfs_oldacl_byteswap);
|
||||
EXPORT_SYMBOL(zfs_acl_byteswap);
|
||||
EXPORT_SYMBOL(zfs_znode_byteswap);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user