aboutsummaryrefslogtreecommitdiffstats
path: root/lib/lockref.c
diff options
context:
space:
mode:
authorSteffen Maier <[email protected]>2013-11-05 11:59:46 +0000
committerMartin Schwidefsky <[email protected]>2013-11-06 13:32:22 +0000
commitde9587a2f54d2d0063f0dbc775328129b9daaaa2 (patch)
treec013b5729a5250b774b5476dd48fdda817d27c80 /lib/lockref.c
parents390/mm,tlb: correct tlb flush on page table upgrade (diff)
downloadkernel-de9587a2f54d2d0063f0dbc775328129b9daaaa2.tar.gz
kernel-de9587a2f54d2d0063f0dbc775328129b9daaaa2.zip
s390/scm_blk: fix endless loop for requests != REQ_TYPE_FS
The while loop only peeks at the top request in the queue but does not yet consume it. Since we only handle fs requests, we need to dequeue and complete all other request command types with error just in case we would ever receive such an unforeseen request. Signed-off-by: Steffen Maier <[email protected]> Signed-off-by: Sebastian Ott <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'lib/lockref.c')
0 files changed, 0 insertions, 0 deletions