https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

--- Comment #21 from Franco Fichtner <[email protected]> ---
This was only supposed to print further debug output, but something in here is
probably responsible for fixing it as it touches the same lines as r301157
that's been known to cause the panic in the first place...

-       else if ((rw)->rw_lock != _tid || !_rw_write_unlock((rw), _tid))\
-               _rw_wunlock_hard((rw), _tid, (file), (line));           \
+       else {                                                          \
+               _v = (rw)->rw_lock;                                     \
+               if (_v != _tid || !_rw_write_unlock_fetch((rw), &_v))   \
+                       _rw_wunlock_hard((rw), _v, _tid, (file), (line));\
+       }

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"

Reply via email to