[SCSI] Fix hang in starved list processing
authorMike Christie <michaelc@cs.wisc.edu>
Tue, 11 Nov 2008 19:42:35 +0000 (13:42 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sun, 16 Nov 2008 14:13:58 +0000 (08:13 -0600)
commit2a3a59e5c977654d3aad5bc11cc0aca2303a7f44
tree4449aa49696e54a3a62fc595449be8caa89188f1
parent9bf1a2445f3c569098b8de7097ca324e65abecc2
[SCSI] Fix hang in starved list processing

Close possible infinite loop with interrupts off when devices are
added back to the starved list.

Fixes: http://bugzilla.kernel.org/show_bug.cgi?id=11898

Reported-by: <alex.shi@intel.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/scsi_lib.c