Commit 6490e99e authored by Marko Mäkelä's avatar Marko Mäkelä

fixup 4b5bf654

parent 9c03c1c6
...@@ -192,7 +192,7 @@ class srw_lock ...@@ -192,7 +192,7 @@ class srw_lock
{ {
PSI_rwlock_locker_state state; PSI_rwlock_locker_state state;
PSI_rwlock_locker *locker= PSI_RWLOCK_CALL(start_rwlock_wrwait) PSI_rwlock_locker *locker= PSI_RWLOCK_CALL(start_rwlock_wrwait)
(&state, pfs_psi, PSI_RWLOCK_WRITELOCK, file, line); (&state, pfs_psi, PSI_RWLOCK_EXCLUSIVELOCK, file, line);
lock.u_wr_upgrade(); lock.u_wr_upgrade();
if (locker) if (locker)
PSI_RWLOCK_CALL(end_rwlock_rdwait)(locker, 0); PSI_RWLOCK_CALL(end_rwlock_rdwait)(locker, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment