HomeFreeBSD

Add TASKQID_INVALID

Description

Add TASKQID_INVALID

Add the TASKQID_INVALID macros and update callers to use the macro
instead of testing against 0. There is no functional change
even though the functions in zfs_ctldir.c incorrectly used -1
instead of 0.

Reviewed-by: Tom Caputi <tcaputi@datto.com>
Reviewed-by: Tim Chase <tim@chase2k.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #5347

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Oct 28 2016, 10:40 PM
Parents
rGb3c159fee4ab: Process all systemd services through the systemd scriptlets
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG48d3eb40c71e: Add TASKQID_INVALID (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Nov 2 2016, 7:14 PM