FreeBSD: Use a statement expression to implement SET_ERROR() (#16284)
commitf72e081fbf3897cda90cf10463a1e4f25d52e257
authorMark Johnston <markjdb@gmail.com>
Tue, 9 Jul 2024 00:59:08 +0000 (8 19:59 -0500)
committerGitHub <noreply@github.com>
Tue, 9 Jul 2024 00:59:08 +0000 (8 17:59 -0700)
treeedeb2cb92e31361b4491a3e6720cd98d06b45647
parentfd51786f86e4e39ce3aa0a4ab8c44935496ff7c2
FreeBSD: Use a statement expression to implement SET_ERROR() (#16284)

This way we can avoid making assumptions about the SDT probe
implementation.  No functional change intended.

Signed-off-by: Mark Johnston <markj@FreeBSD.org>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Allan Jude <allan@klarasystems.com>
Reviewed-by: Rob Norris <rob.norris@klarasystems.com>
Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
include/os/freebsd/spl/sys/sdt.h