]> git.proxmox.com Git - mirror_zfs.git/blobdiff - module/zfs/dmu_objset.c
Fix dmu_objset_find_dp() KM_SLEEP warning
[mirror_zfs.git] / module / zfs / dmu_objset.c
index 97a224b911872474e1a8d2bf28a06c484a94a103..73807b6786bd6e102e21c4ec9598ed67c6cc4e88 100644 (file)
@@ -1519,7 +1519,7 @@ dmu_objset_find_dp(dsl_pool_t *dp, uint64_t ddobj,
        }
 
        thisobj = dd->dd_phys->dd_head_dataset_obj;
-       attr = kmem_alloc(sizeof (zap_attribute_t), KM_SLEEP);
+       attr = kmem_alloc(sizeof (zap_attribute_t), KM_PUSHPAGE);
 
        /*
         * Iterate over all children.