]> git.proxmox.com Git - mirror_zfs.git/commit - include/sys/zfs_context.h
Add TASKQID_INVALID
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 28 Oct 2016 22:40:14 +0000 (22:40 +0000)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 2 Nov 2016 19:14:45 +0000 (12:14 -0700)
commit48d3eb40c71e5840e4d9e9af7addcfef7c382511
treef8832b7512bcdb948ab48d9fcfd145a91bac7ca6
parentb3c159fee4ab92832e6a735431b8b5f930665fab
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
12 files changed:
include/sys/zfs_context.h
module/icp/core/kcf_sched.c
module/zfs/arc.c
module/zfs/dmu_objset.c
module/zfs/dmu_traverse.c
module/zfs/metaslab.c
module/zfs/vdev.c
module/zfs/vdev_file.c
module/zfs/zfs_ctldir.c
module/zfs/zfs_vnops.c
module/zfs/zio.c
module/zfs/zvol.c