patch-2.3.99-pre9 linux/include/linux/nfs_xdr.h

Next file: linux/include/linux/pci_ids.h
Previous file: linux/include/linux/nfs_page.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre8/linux/include/linux/nfs_xdr.h linux/include/linux/nfs_xdr.h
@@ -106,7 +106,6 @@
  * Argument struct for decode_entry function
  */
 struct nfs_entry {
-	struct page *		page;
 	__u64			ino;
 	__u64			cookie,
 				prev_cookie;
@@ -115,8 +114,6 @@
 	int			eof;
 	struct nfs_fh		fh;
 	struct nfs_fattr	fattr;
-	unsigned long		offset,
-				prev;
 };
 
 /*
@@ -326,10 +323,10 @@
 			    struct nfs_fh *, struct nfs_fattr *);
 	int	(*access)  (struct dentry *, int , int);
 	int	(*readlink)(struct dentry *, void *, unsigned int);
-	int	(*read)    (struct dentry *, struct nfs_fattr *,
+	int	(*read)    (struct file *, struct nfs_fattr *,
 			    int, loff_t, unsigned int,
 			    void *buffer, int *eofp);
-	int	(*write)   (struct dentry *, struct nfs_fattr *,
+	int	(*write)   (struct file *, struct nfs_fattr *,
 			    int, loff_t, unsigned int,
 			    void *buffer, struct nfs_writeverf *verfp);
 	int	(*commit)  (struct dentry *, struct nfs_fattr *,
@@ -346,7 +343,7 @@
 	int	(*mkdir)   (struct dentry *, struct qstr *, struct iattr *,
 			    struct nfs_fh *, struct nfs_fattr *);
 	int	(*rmdir)   (struct dentry *, struct qstr *);
-	int	(*readdir) (struct dentry *, u64 cookie, void *, unsigned int,
+	int	(*readdir) (struct file *, u64 cookie, void *, unsigned int,
 			    int);
 	int	(*mknod)   (struct dentry *, struct qstr *, struct iattr *,
 			    dev_t, struct nfs_fh *, struct nfs_fattr *);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)