Merge branch 'linux-kernel-mem' into refs/top-bases/linux-zfs-branch
Conflicts: module/zfs/zfs_ioctl.c
This commit is contained in:
commit
d07f996713
|
@ -976,7 +976,7 @@ put_nvlist(zfs_cmd_t *zc, nvlist_t *nvl)
|
||||||
if (ddi_copyout(packed, (void *)(uintptr_t)zc->zc_nvlist_dst,
|
if (ddi_copyout(packed, (void *)(uintptr_t)zc->zc_nvlist_dst,
|
||||||
size, zc->zc_iflags) != 0)
|
size, zc->zc_iflags) != 0)
|
||||||
error = EFAULT;
|
error = EFAULT;
|
||||||
kmem_free(packed, size);
|
vmem_free(packed, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
zc->zc_nvlist_dst_size = size;
|
zc->zc_nvlist_dst_size = size;
|
||||||
|
|
Loading…
Reference in New Issue