Merge branch 'linux-kernel-mem' into refs/top-bases/linux-zfs-branch
This commit is contained in:
commit
52f9b6d142
|
@ -1270,7 +1270,7 @@ load_nvlist(spa_t *spa, uint64_t obj, nvlist_t **value)
|
|||
nvsize = *(uint64_t *)db->db_data;
|
||||
dmu_buf_rele(db, FTAG);
|
||||
|
||||
packed = kmem_alloc(nvsize, KM_SLEEP);
|
||||
packed = kmem_alloc(nvsize, KM_SLEEP | KM_NODEBUG);
|
||||
error = dmu_read(spa->spa_meta_objset, obj, 0, nvsize, packed,
|
||||
DMU_READ_PREFETCH);
|
||||
if (error == 0)
|
||||
|
|
|
@ -908,7 +908,7 @@ get_nvlist(uint64_t nvl, uint64_t size, int iflag, nvlist_t **nvp)
|
|||
if (size == 0)
|
||||
return (EINVAL);
|
||||
|
||||
packed = kmem_alloc(size, KM_SLEEP);
|
||||
packed = kmem_alloc(size, KM_SLEEP | KM_NODEBUG);
|
||||
|
||||
if ((error = ddi_copyin((void *)(uintptr_t)nvl, packed, size,
|
||||
iflag)) != 0) {
|
||||
|
|
Loading…
Reference in New Issue