Skip to content

Commit

Permalink
[S390] dasd set offline kernel bug.
Browse files Browse the repository at this point in the history
The request queue flush function of the dasd driver has to dequeue
the requests first and then call the end request function. Otherwise
a kernel bug in ll_rw_block.c might get triggered.

Signed-off-by: Horst Hummel <horst.hummel@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
  • Loading branch information
Horst Hummel authored and Martin Schwidefsky committed Aug 9, 2006
1 parent 5cb900a commit ebc4599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/s390/block/dasd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1730,8 +1730,8 @@ dasd_flush_request_queue(struct dasd_device * device)
req = elv_next_request(device->request_queue);
if (req == NULL)
break;
dasd_end_request(req, 0);
blkdev_dequeue_request(req);
dasd_end_request(req, 0);
}
spin_unlock_irq(&device->request_queue_lock);
}
Expand Down

0 comments on commit ebc4599

Please sign in to comment.