NFS: Eliminate client_sys in favour of cl_rpcclient
authorDavid Howells <dhowells@redhat.com>
Wed, 23 Aug 2006 00:06:12 +0000 (20:06 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 23 Sep 2006 03:24:36 +0000 (23:24 -0400)
commit5006a76cca8f86c6975c16fcf67e83b8b0eee2b6
treefbe711871729ddfc921e91ba86202a15c5a1a55f
parent8fa5c000d7f986ef9cdc6d95f9f7fcee20e0a7d6
NFS: Eliminate client_sys in favour of cl_rpcclient

Eliminate nfs_server::client_sys in favour of nfs_client::cl_rpcclient as we
only really need one per server that we're talking to since it doesn't have any
security on it.

The retransmission management variables are also moved to the common struct as
they're required to set up the cl_rpcclient connection.

The NFS2/3 client and client_acl connections are thenceforth derived by cloning
the cl_rpcclient connection and post-applying the authorisation flavour.

The code for setting up the initial common connection has been moved to
client.c as nfs_create_rpc_client().  All the NFS program definition tables are
also moved there as that's where they're now required rather than super.c.

Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/client.c
fs/nfs/internal.h
fs/nfs/nfs3proc.c
fs/nfs/proc.c
fs/nfs/super.c
include/linux/nfs_fs_sb.h