summaryrefslogtreecommitdiffstats
path: root/block/bsg.c
diff options
context:
space:
mode:
authorDenis Kirjanov <kda@linux-powerpc.org>2017-03-30 10:06:19 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-31 11:37:13 +0200
commit19fa6e601b251f13400767813372944b3e2f444b (patch)
treef196d95a9163a964826db79b5a9d7b79fec06ffc /block/bsg.c
parent93857edd9829e144acb6c7e72d593f6e01aead66 (diff)
downloadlinux-19fa6e601b251f13400767813372944b3e2f444b.tar.gz
linux-19fa6e601b251f13400767813372944b3e2f444b.tar.bz2
linux-19fa6e601b251f13400767813372944b3e2f444b.zip
tty/hvc_console: fix console lock ordering with spinlock
hvc_remove() takes a spin lock first then acquires the console semaphore. This situation can easily lead to a deadlock scenario where we call scheduler with spin lock held. Signed-off-by: Denis Kirjanov <kda@linux-powerpc.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block/bsg.c')
0 files changed, 0 insertions, 0 deletions