]> git.proxmox.com Git - mirror_zfs.git/blobdiff - include/sys/dsl_dataset.h
Change KM_PUSHPAGE -> KM_SLEEP
[mirror_zfs.git] / include / sys / dsl_dataset.h
index 4979ae615b7388589d1c012967ee12798e2e572a..4ef70adc27cfa7ad15754546d7a6b69287081ebd 100644 (file)
@@ -285,7 +285,7 @@ int dsl_dataset_rollback(const char *fsname, void *owner, nvlist_t *result);
 #ifdef ZFS_DEBUG
 #define        dprintf_ds(ds, fmt, ...) do { \
        if (zfs_flags & ZFS_DEBUG_DPRINTF) { \
-       char *__ds_name = kmem_alloc(MAXNAMELEN, KM_PUSHPAGE); \
+       char *__ds_name = kmem_alloc(MAXNAMELEN, KM_SLEEP); \
        dsl_dataset_name(ds, __ds_name); \
        dprintf("ds=%s " fmt, __ds_name, __VA_ARGS__); \
        kmem_free(__ds_name, MAXNAMELEN); \