[S390] dasd: fix endless loop in erp
authorStefan Haberland <stefan.haberland@de.ibm.com>
Thu, 22 Apr 2010 15:17:02 +0000 (17:17 +0200)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Thu, 22 Apr 2010 15:17:19 +0000 (17:17 +0200)
commit6a5176c474e3e722ab273d940442238e554e5e58
tree0a623a707647b4511e99822fee37a7e2139689e4
parent1ef6ce7a340f9ed139a73147ff9cf7ad56889414
[S390] dasd: fix endless loop in erp

If not enough memory is available to build a new erp request it ended
up in an endless loop trying to build erp requests. Fixed the loop to
proceed the next request instead.

Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd.c
drivers/s390/block/dasd_3990_erp.c