HomeFreeBSD

Mutex leak in dsl_dataset_hold_obj()

Description

Mutex leak in dsl_dataset_hold_obj()

In addition to dsl_dataset_evict_async() releasing a hold, there is
an error case in dsl_dataset_hold_obj() which had missed 4 additional
release calls. This was introduced in a1d477c24.

openzfsonosx-commit: https://github.com/openzfsonosx/zfs/commit/63ff7f1c

Authored by: Jorgen Lundman <lundman@lundman.net>
Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Ported-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #8517

Details

Provenance
Jorgen Lundman <lundman@lundman.net>Authored on Mar 19 2019, 3:34 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Mar 21 2019, 5:36 PM
Parents
rG45001b949c14: QAT: Allocate digest_buffer using QAT_PHYS_CONTIG_ALLOC()
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGd10b2f1d35b7: Mutex leak in dsl_dataset_hold_obj() (authored by Jorgen Lundman <lundman@lundman.net>).Mar 21 2019, 5:36 PM