aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs
diff options
context:
space:
mode:
authorTim Chase <[email protected]>2019-01-25 11:50:06 -0600
committerBrian Behlendorf <[email protected]>2019-01-25 09:50:06 -0800
commit107dd2b1748bc4c15e5e5fa7342cfc4e61bce4ee (patch)
treefeb5bb79f268c13257d2d93d2722ea3a90252b05 /module/zfs
parent7646af20ad3406afde8b02b9b58eb0e58af66700 (diff)
Use proper tag for spa config refcounts in mmp_write_uberblock()
This allows the spa config refcounts to use tracking in debug builds without triggering the "No such hold %p on refcount" panic. Reviewed-by: Olaf Faaland <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Tim Chase <[email protected]> Closes #8326
Diffstat (limited to 'module/zfs')
-rw-r--r--module/zfs/mmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/mmp.c b/module/zfs/mmp.c
index 6fd5d3e9a..746ee0f77 100644
--- a/module/zfs/mmp.c
+++ b/module/zfs/mmp.c
@@ -421,7 +421,7 @@ mmp_write_uberblock(spa_t *spa)
mmp->mmp_kstat_id++, error);
}
mutex_exit(&mmp->mmp_io_lock);
- spa_config_exit(spa, SCL_STATE, FTAG);
+ spa_config_exit(spa, SCL_STATE, mmp_tag);
return;
}