HomeFreeBSD

zfs: Use a statement expression to implement SET_ERROR()

Description

zfs: Use a statement expression to implement SET_ERROR()

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

This was submitted upstream as https://github.com/openzfs/zfs/pull/16284

MFC after: 1 week

Details

Provenance
markjAuthored on Jun 19 2024, 4:01 PM
Parents
rGbc2901144cf7: dtrace: Remove LOCK_LEVEL
Branches
Unknown
Tags
Unknown