patch-2.3.99-pre4 linux/drivers/block/paride/pcd.c
Next file: linux/drivers/block/paride/pd.c
Previous file: linux/drivers/block/nbd.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Apr 4 19:25:14 2000
- Orig file:
v2.3.99-pre3/linux/drivers/block/paride/pcd.c
- Orig date:
Wed Feb 16 17:03:51 2000
diff -u --recursive --new-file v2.3.99-pre3/linux/drivers/block/paride/pcd.c linux/drivers/block/paride/pcd.c
@@ -765,7 +765,7 @@
pcd_unit = unit;
}
pcd_sector = CURRENT->sector;
- pcd_count = CURRENT->nr_sectors;
+ pcd_count = CURRENT->current_nr_sectors;
pcd_buf = CURRENT->buffer;
pcd_busy = 1;
ps_set_intr(do_pcd_read,0,0,nice);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)