patch-2.3.99-pre3 linux/fs/coda/dir.c
Next file: linux/fs/cramfs/inode.c
Previous file: linux/fs/buffer.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Mar 22 22:15:57 2000
- Orig file:
v2.3.99-pre2/linux/fs/coda/dir.c
- Orig date:
Fri Mar 10 16:40:46 2000
diff -u --recursive --new-file v2.3.99-pre2/linux/fs/coda/dir.c linux/fs/coda/dir.c
@@ -685,7 +685,7 @@
}
/* we use this routine to read the file into our buffer */
- bufsize = read_exec(filp->f_dentry, filp->f_pos, buff, DIR_BUFSIZE, 1);
+ bufsize = kernel_read(filp, filp->f_pos, buff, DIR_BUFSIZE);
if ( bufsize < 0) {
printk("coda_venus_readdir: cannot read directory %d.\n",
bufsize);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)