patch-2.4.1 linux/drivers/block/paride/pf.c
Next file: linux/drivers/cdrom/cdrom.c
Previous file: linux/drivers/block/paride/pd.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Mon Jan 15 13:08:15 2001
- Orig file:
v2.4.0/linux/drivers/block/paride/pf.c
- Orig date:
Thu Oct 26 23:35:47 2000
diff -u --recursive --new-file v2.4.0/linux/drivers/block/paride/pf.c linux/drivers/block/paride/pf.c
@@ -346,7 +346,6 @@
if (req->nr_segments < max_segments) {
req->nr_segments++;
- q->elevator.nr_segments++;
return 1;
}
return 0;
@@ -386,7 +385,6 @@
if (total_segments > max_segments)
return 0;
- q->elevator.nr_segments -= same_segment;
req->nr_segments = total_segments;
return 1;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)