diff options
Diffstat (limited to 'fs/nfs/super.c')
-rw-r--r-- | fs/nfs/super.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c index ab4c78ee840c..3ee85c4e65d8 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c | |||
@@ -1136,7 +1136,8 @@ static struct rpc_clnt *nfs4_create_client(struct nfs_server *server, | |||
1136 | clnt->cl_softrtry = 1; | 1136 | clnt->cl_softrtry = 1; |
1137 | clp->cl_rpcclient = clnt; | 1137 | clp->cl_rpcclient = clnt; |
1138 | memcpy(clp->cl_ipaddr, server->ip_addr, sizeof(clp->cl_ipaddr)); | 1138 | memcpy(clp->cl_ipaddr, server->ip_addr, sizeof(clp->cl_ipaddr)); |
1139 | nfs_idmap_new(clp); | 1139 | if (nfs_idmap_new(clp) < 0) |
1140 | goto out_fail; | ||
1140 | } | 1141 | } |
1141 | list_add_tail(&server->nfs4_siblings, &clp->cl_superblocks); | 1142 | list_add_tail(&server->nfs4_siblings, &clp->cl_superblocks); |
1142 | clnt = rpc_clone_client(clp->cl_rpcclient); | 1143 | clnt = rpc_clone_client(clp->cl_rpcclient); |