]> granicus.if.org Git - zfs/commit
Mutex leak in dsl_dataset_hold_obj()
authorJorgen Lundman <lundman@lundman.net>
Tue, 19 Mar 2019 03:34:30 +0000 (12:34 +0900)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 21 Mar 2019 17:36:58 +0000 (10:36 -0700)
commitd10b2f1d35b76efc22c006ba9ca172681da301e7
tree6b04a76aceffa71b476b40de2dc39b295d78166c
parent45001b949c14b09230a4cd6d105ab32a4673d286
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
module/zfs/dsl_dataset.c