SUNRPC: Move clnt->cl_server into struct rpc_xprt
[linux-3.10.git] / net / sunrpc / rpc_pipe.c
index 3d30943..7d96e3c 100644 (file)
@@ -404,7 +404,8 @@ rpc_show_info(struct seq_file *m, void *v)
        struct rpc_clnt *clnt = m->private;
 
        rcu_read_lock();
-       seq_printf(m, "RPC server: %s\n", clnt->cl_server);
+       seq_printf(m, "RPC server: %s\n",
+                       rcu_dereference(clnt->cl_xprt)->servername);
        seq_printf(m, "service: %s (%d) version %d\n", clnt->cl_protname,
                        clnt->cl_prog, clnt->cl_vers);
        seq_printf(m, "address: %s\n", rpc_peeraddr2str(clnt, RPC_DISPLAY_ADDR));