patch-2.1.27 linux/drivers/block/ll_rw_blk.c
Next file: linux/drivers/char/lp.c
Previous file: linux/arch/i386/kernel/vm86.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Feb 26 11:10:36 1997
- Orig file:
v2.1.26/linux/drivers/block/ll_rw_blk.c
- Orig date:
Mon Dec 23 00:13:53 1996
diff -u --recursive --new-file v2.1.26/linux/drivers/block/ll_rw_blk.c linux/drivers/block/ll_rw_blk.c
@@ -585,7 +585,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