patch-2.0.30 linux/drivers/block/ide-cd.c
Next file: linux/drivers/block/ll_rw_blk.c
Previous file: linux/drivers/block/floppy.c
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Tue Mar 11 13:28:36 1997
- Orig file:
v2.0.29/linux/drivers/block/ide-cd.c
- Orig date:
Wed Jan 15 03:58:28 1997
diff -u --recursive --new-file v2.0.29/linux/drivers/block/ide-cd.c linux/drivers/block/ide-cd.c
@@ -639,14 +639,6 @@
{
struct request *rq = HWGROUP(drive)->rq;
- /* The code in blk.h can screw us up on error recovery if the block
- size is larger than 1k. Fix that up here. */
- if (!uptodate && rq->bh != 0) {
- int adj = rq->current_nr_sectors - 1;
- rq->current_nr_sectors -= adj;
- rq->sector += adj;
- }
-
if (rq->cmd == REQUEST_SENSE_COMMAND && uptodate) {
struct packet_command *pc = (struct packet_command *)
rq->buffer;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov