patch-2.3.99-pre7 linux/fs/nfs/read.c
Next file: linux/fs/nfs/write.c
Previous file: linux/fs/ncpfs/symlink.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Mon May 8 11:11:29 2000
- Orig file:
v2.3.99-pre6/linux/fs/nfs/read.c
- Orig date:
Wed Apr 26 16:34:09 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/fs/nfs/read.c linux/fs/nfs/read.c
@@ -15,6 +15,7 @@
* within the RPC code when root squashing is suspected.
*/
+#include <linux/config.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/errno.h>
@@ -471,8 +472,9 @@
* - The server is congested.
*/
int
-nfs_readpage(struct dentry *dentry, struct page *page)
+nfs_readpage(struct file *file, struct page *page)
{
+ struct dentry *dentry = file->f_dentry;
struct inode *inode = dentry->d_inode;
int error;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)