diff options
author | Darren Hart | 2009-08-05 12:05:21 -0700 |
---|---|---|
committer | Ingo Molnar | 2009-08-06 05:50:21 +0200 |
commit | 1bbf20835c4e088667a090ce6523a0f70b62dc76 (patch) | |
tree | 91fea2bd29abf6be58c55e259d2904de303fcf3e /drivers/scsi/scsi_netlink.c | |
parent | 90bc1a658a53f8832ee799685703977a450e5af9 (diff) |
rtmutex: Avoid deadlock in rt_mutex_start_proxy_lock()
In the event of a lock steal or owner died,
rt_mutex_start_proxy_lock() will give the rt_mutex to the
waiting task, but it fails to release the wait_lock. This leads
to subsequent deadlocks when other tasks try to acquire the
rt_mutex.
I also removed a few extra blank lines that really spaced this
routine out. I must have been high on the \n when I wrote this
originally...
Signed-off-by: Darren Hart <dvhltc@us.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Dinakar Guniguntala <dino@in.ibm.com>
Cc: John Stultz <johnstul@linux.vnet.ibm.com>
LKML-Reference: <4A79D7F1.4000405@us.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/scsi/scsi_netlink.c')
0 files changed, 0 insertions, 0 deletions