summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/zfs/zrlock.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/module/zfs/zrlock.c b/module/zfs/zrlock.c
index 167d4c506..4f4854436 100644
--- a/module/zfs/zrlock.c
+++ b/module/zfs/zrlock.c
@@ -82,8 +82,10 @@ zrl_add_impl(zrlock_t *zrl, const char *zc)
ASSERT3S((int32_t)n, >=, 0);
#ifdef ZFS_DEBUG
if (zrl->zr_owner == curthread) {
- DTRACE_PROBE2(zrlock__reentry,
- zrlock_t *, zrl, uint32_t, n);
+ DTRACE_PROBE3(zrlock__reentry,
+ zrlock_t *, zrl,
+ kthread_t *, curthread,
+ uint32_t, n);
}
zrl->zr_owner = curthread;
zrl->zr_caller = zc;