summaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_fs_sb.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-04-29 21:13:14 +0000
committer <ralf@linux-mips.org>1997-04-29 21:13:14 +0000
commit19c9bba94152148523ba0f7ef7cffe3d45656b11 (patch)
tree40b1cb534496a7f1ca0f5c314a523c69f1fee464 /include/linux/nfs_fs_sb.h
parent7206675c40394c78a90e74812bbdbf8cf3cca1be (diff)
Import of Linux/MIPS 2.1.36
Diffstat (limited to 'include/linux/nfs_fs_sb.h')
-rw-r--r--include/linux/nfs_fs_sb.h36
1 files changed, 17 insertions, 19 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h
index bfdba35b4..c1bedfbdf 100644
--- a/include/linux/nfs_fs_sb.h
+++ b/include/linux/nfs_fs_sb.h
@@ -1,34 +1,32 @@
#ifndef _NFS_FS_SB
#define _NFS_FS_SB
-#include <linux/rpcsock.h>
#include <linux/nfs.h>
+#include <linux/in.h>
+/*
+ * NFS client parameters
+ * Part of this is duplicated in rpc_clnt and is therefore obsolete.
+ */
struct nfs_server {
- struct file *file;
- struct rpc_sock *rsock;
- struct sockaddr toaddr ; /* Added for change to NFS code to use sendto() 1995-06-02 JSP */
- int lock;
- struct wait_queue *wait;
- int flags;
- int rsize;
- int wsize;
- int timeo;
- int retrans;
- int acregmin;
- int acregmax;
- int acdirmin;
- int acdirmax;
- char hostname[256];
+ struct rpc_clnt * client; /* RPC client handle */
+ int flags; /* various flags */
+ int rsize; /* read size */
+ int wsize; /* write size */
+ unsigned int bsize; /* server block size */
+ unsigned int acregmin; /* attr cache timeouts */
+ unsigned int acregmax;
+ unsigned int acdirmin;
+ unsigned int acdirmax;
+ char hostname[256]; /* remote hostname */
};
/*
* nfs super-block data in memory
*/
-
struct nfs_sb_info {
- struct nfs_server s_server;
- struct nfs_fh s_root;
+ struct nfs_server s_server;
+ struct nfs_fh s_root;
};
#endif