patch-2.0.30 linux/drivers/block/ll_rw_blk.c
Next file: linux/drivers/cdrom/cdu31a.c
Previous file: linux/drivers/block/ide-cd.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Feb 26 11:10:15 1997
- Orig file:
v2.0.29/linux/drivers/block/ll_rw_blk.c
- Orig date:
Fri Sep 20 07:00:34 1996
diff -u --recursive --new-file v2.0.29/linux/drivers/block/ll_rw_blk.c linux/drivers/block/ll_rw_blk.c
@@ -568,7 +568,7 @@
for (; j < 8 && i < nb; j++, i++, buf += buffersize)
{
rdev = dev;
- rsector = (b[i] * buffersize) >> 9;
+ rsector = b[i] * (buffersize >> 9);
#ifdef CONFIG_BLK_DEV_MD
if (major==MD_MAJOR &&
md_map (MINOR(dev), &rdev,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov