patch-2.4.0-test12 linux/fs/hpfs/buffer.c
Next file: linux/fs/hpfs/file.c
Previous file: linux/fs/hfs/inode.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sat Dec 9 11:43:03 2000
- Orig file:
v2.4.0-test11/linux/fs/hpfs/buffer.c
- Orig date:
Tue Oct 31 12:42:27 2000
diff -u --recursive --new-file v2.4.0-test11/linux/fs/hpfs/buffer.c linux/fs/hpfs/buffer.c
@@ -127,7 +127,7 @@
if (!ahead || secno + ahead >= s->s_hpfs_fs_size)
*bhp = bh = bread(dev, secno, 512);
- else *bhp = bh = breada(dev, secno, 512, 0, (ahead + 1) << 9);
+ else *bhp = bh = bread(dev, secno, 512);
if (bh != NULL)
return bh->b_data;
else {
@@ -175,7 +175,7 @@
if (!ahead || secno + 4 + ahead > s->s_hpfs_fs_size)
qbh->bh[0] = bh = bread(dev, secno, 512);
- else qbh->bh[0] = bh = breada(dev, secno, 512, 0, (ahead + 4) << 9);
+ else qbh->bh[0] = bh = bread(dev, secno, 512);
if (!bh)
goto bail0;
memcpy(data, bh->b_data, 512);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)