mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-23 16:01:42 +00:00
Convert the last use of xcopyout() to ddi_copyout() and remove the now
unused xcopyin() as well as xcopyout(). MFC together with r219089. Approved by: mm
This commit is contained in:
parent
3fcb7a5365
commit
edd870e447
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=221409
sys/cddl
@ -42,9 +42,6 @@
|
||||
|
||||
#define delay(x) pause("soldelay", (x))
|
||||
|
||||
#define xcopyin(u, k, s) copyin(u, k, s)
|
||||
#define xcopyout(k, u, s) copyout(k, u, s)
|
||||
|
||||
#endif /* _KERNEL */
|
||||
|
||||
#endif /* _OPENSOLARIS_SYS_SYSTM_H_ */
|
||||
|
@ -4068,9 +4068,9 @@ zfs_ioc_userspace_many(zfs_cmd_t *zc)
|
||||
buf, &zc->zc_nvlist_dst_size);
|
||||
|
||||
if (error == 0) {
|
||||
error = xcopyout(buf,
|
||||
error = ddi_copyout(buf,
|
||||
(void *)(uintptr_t)zc->zc_nvlist_dst,
|
||||
zc->zc_nvlist_dst_size);
|
||||
zc->zc_nvlist_dst_size, zc->zc_iflags);
|
||||
}
|
||||
kmem_free(buf, bufsize);
|
||||
zfsvfs_rele(zfsvfs, FTAG);
|
||||
|
Loading…
Reference in New Issue
Block a user