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

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)