mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
debug: move all of the debug bits out of the spl
Pull all of the internal debug infrastructure up in to the zfs code to clean up the layering. Remove all the dodgy usage of SET_ERROR and DTRACE_PROBE from the spl. Luckily it was lightly used in the spl layer so we're not losing much. Sponsored-by: https://despairlabs.com/sponsor/ Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Rob Norris <robn@despairlabs.com> Closes #17861
This commit is contained in:
@@ -238,7 +238,7 @@ zfs_uio_iov_step(struct iovec v, zfs_uio_t *uio, int *numpages)
|
||||
zfs_uio_rw(uio), &uio->uio_dio.pages[uio->uio_dio.npages]);
|
||||
|
||||
if (res != n)
|
||||
return (SET_ERROR(EFAULT));
|
||||
return (EFAULT);
|
||||
|
||||
ASSERT3U(len, ==, res * PAGE_SIZE);
|
||||
*numpages = res;
|
||||
|
||||
Reference in New Issue
Block a user