diff --git a/module/zfs/dmu.c b/module/zfs/dmu.c index 1d56ec5147..e7485efa93 100644 --- a/module/zfs/dmu.c +++ b/module/zfs/dmu.c @@ -1241,7 +1241,6 @@ 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_get_replication_level); EXPORT_SYMBOL(dmu_ot); #endif diff --git a/module/zfs/dsl_dataset.c b/module/zfs/dsl_dataset.c index 8369cec10e..3ee7eac129 100644 --- a/module/zfs/dsl_dataset.c +++ b/module/zfs/dsl_dataset.c @@ -3149,6 +3149,4 @@ EXPORT_SYMBOL(dsl_dataset_check_quota); EXPORT_SYMBOL(dsl_dataset_set_quota); EXPORT_SYMBOL(dsl_dataset_set_quota_sync); EXPORT_SYMBOL(dsl_dataset_set_reservation); -EXPORT_SYMBOL(dsl_dataset_set_flags); -EXPORT_SYMBOL(dsl_dataset_new_refreservation); #endif diff --git a/module/zfs/zfs_byteswap.c b/module/zfs/zfs_byteswap.c index 177ff552c0..e1c64022dc 100644 --- a/module/zfs/zfs_byteswap.c +++ b/module/zfs/zfs_byteswap.c @@ -173,3 +173,9 @@ zfs_znode_byteswap(void *buf, size_t size) zfs_oldace_byteswap((ace_t *)&zp->zp_acl.z_ace_data[0], 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