@@ -786,7 +785,7 @@ static irqreturn_t blkif_interrupt(int irq, void *dev_id)
* never have given to it (we stamp it up to BLK_RING_SIZE -
* look in get_id_from_freelist.
*/
- if (id >= ring_size) {
+ if (id >= BLK_RING_SIZE) {
WARN(1, "%s: response to %s has incorrect id (%ld)
",
info->gd->disk_name, op_name(bret->operation), id);
/* We can't safely get the 'struct request' as
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team