mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 05:04:02 +02:00
Merge branch 'locking/urgent' into locking/futex
Pick up the upstream fix for consistency.
This commit is contained in:
commit
4a02312098
|
|
@ -645,12 +645,6 @@ int futex_requeue(u32 __user *uaddr1, unsigned int flags1,
|
|||
continue;
|
||||
}
|
||||
|
||||
/* Self-deadlock: non-top waiter already owns the PI futex. */
|
||||
if (rt_mutex_owner(&pi_state->pi_mutex) == this->task) {
|
||||
ret = -EDEADLK;
|
||||
break;
|
||||
}
|
||||
|
||||
ret = rt_mutex_start_proxy_lock(&pi_state->pi_mutex,
|
||||
this->rt_waiter,
|
||||
this->task);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user