View | Details | Raw Unified | Return to bug 204037
Collapse All | Expand All

(-)b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zrlock.c (-1 / +1 lines)
Lines 96-102 zrl_add_impl(zrlock_t *zrl, const char *zc) Link Here
96
		cv_wait(&zrl->zr_cv, &zrl->zr_mtx);
96
		cv_wait(&zrl->zr_cv, &zrl->zr_mtx);
97
	}
97
	}
98
	ASSERT3S(zrl->zr_refcount, >=, 0);
98
	ASSERT3S(zrl->zr_refcount, >=, 0);
99
	zrl->zr_refcount++;
99
	atomic_inc_32(&zrl->zr_refcount);
100
#ifdef	ZFS_DEBUG
100
#ifdef	ZFS_DEBUG
101
	zrl->zr_owner = curthread;
101
	zrl->zr_owner = curthread;
102
	zrl->zr_caller = zc;
102
	zrl->zr_caller = zc;

Return to bug 204037