diff options
author | Andy Adamson <andros@netapp.com> | 2011-02-28 20:34:08 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-03-11 15:38:41 -0500 |
commit | 45a52a02072b2a7e265f024cfdb00127e08dd9f2 (patch) | |
tree | 33c98f48d5b652297f45406f47d9545cca37c7c5 /fs/nfs/nfs4proc.c | |
parent | bf9c1387ca80deac792c9ecf1c64dfcc5d1cc768 (diff) |
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/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 0a07e353a961..55a8fc2f3df4 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -5648,6 +5648,7 @@ const struct nfs_rpc_ops nfs_v4_clientops = { | |||
5648 | .clear_acl_cache = nfs4_zap_acl_attr, | 5648 | .clear_acl_cache = nfs4_zap_acl_attr, |
5649 | .close_context = nfs4_close_context, | 5649 | .close_context = nfs4_close_context, |
5650 | .open_context = nfs4_atomic_open, | 5650 | .open_context = nfs4_atomic_open, |
5651 | .init_client = nfs4_init_client, | ||
5651 | }; | 5652 | }; |
5652 | 5653 | ||
5653 | static const struct xattr_handler nfs4_xattr_nfs4_acl_handler = { | 5654 | static const struct xattr_handler nfs4_xattr_nfs4_acl_handler = { |