HomeFreeBSD

Add IMPLY() and EQUIV() macros

Description

Add IMPLY() and EQUIV() macros

Added for upstream compatibility, they are of the form:

  • IMPLY(a, b) - if (a) then (b)
  • EQUIV(a, b) - if (a) then (b) *AND* if (b) then (a)

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Jun 24 2015, 8:54 PM
Parents
rG72540ea3148a: zfsdev_getminor() should check for invalid file handles
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGfa720217b976: Add IMPLY() and EQUIV() macros (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Jun 24 2015, 10:11 PM