patch-2.3.47 linux/drivers/block/loop.c
Next file: linux/drivers/block/lvm-snap.c
Previous file: linux/drivers/block/ll_rw_blk.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Sun Feb 20 13:11:38 2000
- Orig file:
v2.3.46/linux/drivers/block/loop.c
- Orig date:
Wed Feb 16 17:03:51 2000
diff -u --recursive --new-file v2.3.46/linux/drivers/block/loop.c linux/drivers/block/loop.c
@@ -377,13 +377,13 @@
spin_lock_irq(&io_request_lock);
current_request->sector += current_request->current_nr_sectors;
current_request->nr_sectors -= current_request->current_nr_sectors;
- list_add(¤t_request->queue, ¤t_request->q->queue_head);
+ list_add(¤t_request->queue, &q->queue_head);
end_request(1);
goto repeat;
error_out_lock:
spin_lock_irq(&io_request_lock);
error_out:
- list_add(¤t_request->queue, ¤t_request->q->queue_head);
+ list_add(¤t_request->queue, &q->queue_head);
end_request(0);
goto repeat;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)