aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_fs_sb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nfs_fs_sb.h')
-rw-r--r--include/linux/nfs_fs_sb.h21
1 files changed, 9 insertions, 12 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h
index d404ceca9168..6d0be0efd1b5 100644
--- a/include/linux/nfs_fs_sb.h
+++ b/include/linux/nfs_fs_sb.h
@@ -51,7 +51,6 @@ struct nfs_client {
51 unsigned long cl_lease_time; 51 unsigned long cl_lease_time;
52 unsigned long cl_last_renewal; 52 unsigned long cl_last_renewal;
53 struct work_struct cl_renewd; 53 struct work_struct cl_renewd;
54 struct work_struct cl_recoverd;
55 54
56 struct rpc_wait_queue cl_rpcwaitq; 55 struct rpc_wait_queue cl_rpcwaitq;
57 56
@@ -74,6 +73,10 @@ struct nfs_client {
74 */ 73 */
75struct nfs_server { 74struct nfs_server {
76 struct nfs_client * nfs_client; /* shared client and NFS4 state */ 75 struct nfs_client * nfs_client; /* shared client and NFS4 state */
76 struct list_head client_link; /* List of other nfs_server structs
77 * that share the same client
78 */
79 struct list_head master_link; /* link in master servers list */
77 struct rpc_clnt * client; /* RPC client handle */ 80 struct rpc_clnt * client; /* RPC client handle */
78 struct rpc_clnt * client_acl; /* ACL RPC client handle */ 81 struct rpc_clnt * client_acl; /* ACL RPC client handle */
79 struct nfs_iostats * io_stats; /* I/O statistics */ 82 struct nfs_iostats * io_stats; /* I/O statistics */
@@ -92,20 +95,13 @@ struct nfs_server {
92 unsigned int acdirmin; 95 unsigned int acdirmin;
93 unsigned int acdirmax; 96 unsigned int acdirmax;
94 unsigned int namelen; 97 unsigned int namelen;
95 char * hostname; /* remote hostname */ 98
96 struct nfs_fh fh;
97 struct sockaddr_in addr;
98 struct nfs_fsid fsid; 99 struct nfs_fsid fsid;
100 __u64 maxfilesize; /* maximum file size */
99 unsigned long mount_time; /* when this fs was mounted */ 101 unsigned long mount_time; /* when this fs was mounted */
102 dev_t s_dev; /* superblock dev numbers */
103
100#ifdef CONFIG_NFS_V4 104#ifdef CONFIG_NFS_V4
101 /* Our own IP address, as a null-terminated string.
102 * This is used to generate the clientid, and the callback address.
103 */
104 char ip_addr[16];
105 char * mnt_path;
106 struct list_head nfs4_siblings; /* List of other nfs_server structs
107 * that share the same clientid
108 */
109 u32 attr_bitmask[2];/* V4 bitmask representing the set 105 u32 attr_bitmask[2];/* V4 bitmask representing the set
110 of attributes supported on this 106 of attributes supported on this
111 filesystem */ 107 filesystem */
@@ -113,6 +109,7 @@ struct nfs_server {
113 that are supported on this 109 that are supported on this
114 filesystem */ 110 filesystem */
115#endif 111#endif
112 void (*destroy)(struct nfs_server *);
116}; 113};
117 114
118/* Server capabilities */ 115/* Server capabilities */