patch-2.3.26 linux/fs/bfs/dir.c
Next file: linux/fs/bfs/file.c
Previous file: linux/fs/bfs/bfs_defs.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Nov 2 08:23:10 1999
- Orig file:
v2.3.25/linux/fs/bfs/dir.c
- Orig date:
Mon Nov 1 13:56:27 1999
diff -u --recursive --new-file v2.3.25/linux/fs/bfs/dir.c linux/fs/bfs/dir.c
@@ -51,7 +51,7 @@
while (f->f_pos < dir->i_size) {
offset = f->f_pos & (BFS_BSIZE-1);
- block = dir->iu_sblock + f->f_pos/BFS_BSIZE;
+ block = dir->iu_sblock + (f->f_pos >> BFS_BSIZE_BITS);
bh = bread(dev, block, BFS_BSIZE);
if (!bh) {
f->f_pos += BFS_BSIZE - offset;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)