mirror_zfs/module/os/freebsd/spl
Alexander Motin 21c40e6d9e FreeBSD: Sync taskq_cancel_id() returns with Linux
Couple places in the code depend on 0 returned only if the task was
actually cancelled.  Doing otherwise could lead to extra references
being dropped.  The race could be small, but I believe CI hit it
from time to time.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by:	Alexander Motin <mav@FreeBSD.org>
Sponsored by:	iXsystems, Inc.
Closes #16565
2024-11-05 15:43:52 -08:00
..
acl_common.c
callb.c
list.c
spl_acl.c
spl_atomic.c
spl_cmn_err.c
spl_dtrace.c
spl_kmem.c
spl_kstat.c
spl_misc.c
spl_policy.c
spl_procfs_list.c
spl_string.c
spl_sunddi.c
spl_sysevent.c
spl_taskq.c FreeBSD: Sync taskq_cancel_id() returns with Linux 2024-11-05 15:43:52 -08:00
spl_uio.c
spl_vfs.c
spl_vm.c
spl_zlib.c
spl_zone.c