diff options
author | Gilad Broner <gbroner@codeaurora.org> | 2015-03-31 16:17:25 +0300 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:01:59 -0700 |
commit | a27d5a2f83bba21a78f45abe63ada896e7b4fc31 (patch) | |
tree | 433943f06979992521980b70287c55037b7aa28a /fs/buffer.c | |
parent | b5bec249a9b43ebbd5a9df1bd31bc3f94c2e77b3 (diff) |
block: test-iosched: fix spinlock recursion
spin_lock_irq() / spin_unlock_irq() is used so interrupts are
enabled after unlocking the spinlock. However, it is not guaranteed
they were enabled before.
This change uses the proper irqsave / irqrestore variants instead.
Without it, a spinlock recursion on the scsi request completion path
is possible if completion interrupt occurs when used for UFS testing.
Change-Id: I25a9bf6faaa2bbfedc807111fbcb32276cccea2f
Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
Diffstat (limited to 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions