diff options
author | Andy Adamson <andros@netapp.com> | 2011-03-01 02:34:08 +0100 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-03-11 21:38:41 +0100 |
commit | 45a52a02072b2a7e265f024cfdb00127e08dd9f2 (patch) | |
tree | 33c98f48d5b652297f45406f47d9545cca37c7c5 /fs/nfs/proc.c | |
parent | NFSv4.1: put_layout_hdr can remove nfsi->layout (diff) | |
download | linux-45a52a02072b2a7e265f024cfdb00127e08dd9f2.tar.xz linux-45a52a02072b2a7e265f024cfdb00127e08dd9f2.zip |
NFS move nfs_client initialization into nfs_get_client
Now nfs_get_client returns an nfs_client ready to be used no matter if it was
found or created.
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/proc.c')
-rw-r--r-- | fs/nfs/proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/proc.c b/fs/nfs/proc.c index 77d5e21c4ad6..b8ec170f2a0f 100644 --- a/fs/nfs/proc.c +++ b/fs/nfs/proc.c @@ -741,4 +741,5 @@ const struct nfs_rpc_ops nfs_v2_clientops = { .lock = nfs_proc_lock, .lock_check_bounds = nfs_lock_check_bounds, .close_context = nfs_close_context, + .init_client = nfs_init_client, }; |