FreeBSD Bugzilla – Attachment 162782 Details for
Bug 204037
Poudriere panics zfs with 'solaris assert: zrl->zr_refcount == 0 (0x6 == 0x0)'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Possible fix
1.patch (text/plain), 551 bytes, created by
Konstantin Belousov
on 2015-11-04 17:04:11 UTC
(
hide
)
Description:
Possible fix
Filename:
MIME Type:
Creator:
Konstantin Belousov
Created:
2015-11-04 17:04:11 UTC
Size:
551 bytes
patch
obsolete
>diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zrlock.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zrlock.c >index 7f6beee..6ea0a00 100644 >--- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zrlock.c >+++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zrlock.c >@@ -96,7 +96,7 @@ zrl_add_impl(zrlock_t *zrl, const char *zc) > cv_wait(&zrl->zr_cv, &zrl->zr_mtx); > } > ASSERT3S(zrl->zr_refcount, >=, 0); >- zrl->zr_refcount++; >+ atomic_inc_32(&zrl->zr_refcount); > #ifdef ZFS_DEBUG > zrl->zr_owner = curthread; > zrl->zr_caller = zc;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 204037
:
162472
| 162782 |
162859