patch-2.4.18 linux/fs/ufs/dir.c
Next file: linux/fs/ufs/inode.c
Previous file: linux/fs/ufs/cylinder.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Jan 23 20:15:01 2002
- Orig file:
linux.orig/fs/ufs/dir.c
- Orig date:
Mon Feb 18 20:18:40 2002
diff -Naur -X /home/marcelo/lib/dontdiff linux.orig/fs/ufs/dir.c linux/fs/ufs/dir.c
@@ -74,7 +74,7 @@
while (!error && !stored && filp->f_pos < inode->i_size) {
lblk = (filp->f_pos) >> sb->s_blocksize_bits;
blk = ufs_frag_map(inode, lblk);
- if (!blk || !(bh = bread (sb->s_dev, blk, sb->s_blocksize))) {
+ if (!blk || !(bh = sb_bread(sb, blk))) {
/* XXX - error - skip to the next block */
printk("ufs_readdir: "
"dir inode %lu has a hole at offset %lu\n",
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)