]> git.karo-electronics.de Git - linux-beck.git/commit
locktorture: fix deadlock in 'rw_lock_irq' type
authorAlexey Kodanev <alexey.kodanev@oracle.com>
Sat, 7 Mar 2015 00:06:53 +0000 (03:06 +0300)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 27 May 2015 19:59:56 +0000 (12:59 -0700)
commitf548d99ef4f5ec8f7080e88ad07c44d16d058ddc
treebe050b69831204402b11f6ee79173461ece46017
parent7d0ae8086b828311250c6afdf800b568ac9bd693
locktorture: fix deadlock in 'rw_lock_irq' type

torture_rwlock_read_unlock_irq() must use read_unlock_irqrestore()
instead of write_unlock_irqrestore().

Use read_unlock_irqrestore() instead of write_unlock_irqrestore().

Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/locking/locktorture.c