diff options
| author | Igor Ostapenko <igor.ostapenko@klarasystems.com> | 2026-06-26 22:08:32 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-26 22:08:32 +0000 |
| commit | 37af899488652c55c456d3f160fb8b295db2ec70 (patch) | |
| tree | 79e83c247604fbb177815f15aec88fc0ae027bec | |
| parent | d3af7c265f612184d4e7e3283a248814704d5ef9 (diff) | |
ddt_log: Fix refcount tagging for begin/commitvendor/openzfs/master
Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Rob Norris <rob.norris@truenas.com>
Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Igor Ostapenko <igor.ostapenko@klarasystems.com>
Closes #18706
| -rw-r--r-- | module/zfs/ddt_log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/zfs/ddt_log.c b/module/zfs/ddt_log.c index 7e699a9b4252..f16731136c67 100644 --- a/module/zfs/ddt_log.c +++ b/module/zfs/ddt_log.c @@ -211,7 +211,7 @@ ddt_log_begin(ddt_t *ddt, size_t nentries, dmu_tx_t *tx, ddt_log_update_t *dlu) ASSERT3U(reclen, <=, UINT16_MAX); dlu->dlu_reclen = reclen; - VERIFY0(dnode_hold(ddt->ddt_os, ddt->ddt_log_active->ddl_object, FTAG, + VERIFY0(dnode_hold(ddt->ddt_os, ddt->ddt_log_active->ddl_object, dlu, &dlu->dlu_dn)); dnode_set_storage_type(dlu->dlu_dn, DMU_OT_DDT_ZAP); @@ -342,7 +342,7 @@ ddt_log_commit(ddt_t *ddt, ddt_log_update_t *dlu) ddt->ddt_log_active->ddl_length += dlu->dlu_ndbp * (uint64_t)dlu->dlu_dn->dn_datablksz; - dnode_rele(dlu->dlu_dn, FTAG); + dnode_rele(dlu->dlu_dn, dlu); ddt_log_update_header(ddt, ddt->ddt_log_active, dlu->dlu_tx); |
