diff options
author | David Howells <dhowells@redhat.com> | 2006-08-22 20:06:12 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-09-22 23:24:35 -0400 |
commit | 8fa5c000d7f986ef9cdc6d95f9f7fcee20e0a7d6 (patch) | |
tree | 356b811803db9775fd9c870d189a9ff75885ae6c /include/linux/nfs_fs_sb.h | |
parent | 1f163415dc05983830bcc47b33c155b2528b1574 (diff) |
NFS: Move rpc_ops from nfs_server to nfs_client
Move the rpc_ops from the nfs_server struct to the nfs_client struct as they're
common to all server records of a particular NFS protocol version.
Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_fs_sb.h')
-rw-r--r-- | include/linux/nfs_fs_sb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h index e7d7662f51f..aae7c117597 100644 --- a/include/linux/nfs_fs_sb.h +++ b/include/linux/nfs_fs_sb.h | |||
@@ -25,6 +25,7 @@ struct nfs_client { | |||
25 | struct list_head cl_superblocks; /* List of nfs_server structs */ | 25 | struct list_head cl_superblocks; /* List of nfs_server structs */ |
26 | 26 | ||
27 | struct rpc_clnt * cl_rpcclient; | 27 | struct rpc_clnt * cl_rpcclient; |
28 | const struct nfs_rpc_ops *rpc_ops; /* NFS protocol vector */ | ||
28 | 29 | ||
29 | #ifdef CONFIG_NFS_V4 | 30 | #ifdef CONFIG_NFS_V4 |
30 | u64 cl_clientid; /* constant */ | 31 | u64 cl_clientid; /* constant */ |
@@ -74,7 +75,6 @@ struct nfs_server { | |||
74 | struct rpc_clnt * client; /* RPC client handle */ | 75 | struct rpc_clnt * client; /* RPC client handle */ |
75 | struct rpc_clnt * client_sys; /* 2nd handle for FSINFO */ | 76 | struct rpc_clnt * client_sys; /* 2nd handle for FSINFO */ |
76 | struct rpc_clnt * client_acl; /* ACL RPC client handle */ | 77 | struct rpc_clnt * client_acl; /* ACL RPC client handle */ |
77 | const struct nfs_rpc_ops *rpc_ops; /* NFS protocol vector */ | ||
78 | struct nfs_iostats * io_stats; /* I/O statistics */ | 78 | struct nfs_iostats * io_stats; /* I/O statistics */ |
79 | struct backing_dev_info backing_dev_info; | 79 | struct backing_dev_info backing_dev_info; |
80 | int flags; /* various flags */ | 80 | int flags; /* various flags */ |