]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use SET_ERROR for more errors in FreeBSD vnops
authorRyan Moeller <ryan@iXsystems.com>
Mon, 19 Jul 2021 16:52:50 +0000 (12:52 -0400)
committerGitHub <noreply@github.com>
Mon, 19 Jul 2021 16:52:50 +0000 (10:52 -0600)
commit65b929364162418337ae563fa523d480411790f9
treee0b8c845573b00b2abec42f348eaef729849dc8c
parentde12cd251105d4842a8b749b7386b8bb74e8f8cc
Use SET_ERROR for more errors in FreeBSD vnops

We should use SET_ERROR when we first get an error.

Add it in the FreeBSD xattr implementations where missing.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #12356
module/os/freebsd/zfs/zfs_vnops_os.c