diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-08-23 19:48:15 +0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-08-30 17:19:34 +0400 |
commit | 55909f21a1079c5f9751d7919f8c9411500e1667 (patch) | |
tree | 9d7dba57e6648975b9980df585c74b83a9981634 /net/sunrpc/stats.c | |
parent | 2d9db75005effd6d4e0c8be4f74922e4f413fbe5 (diff) | |
download | linux-55909f21a1079c5f9751d7919f8c9411500e1667.tar.xz |
SUNRPC: Deprecate rpc_client->cl_protname
It just duplicates the cl_program->name, and is not used in any fast
paths where the extra dereference will cause a hit.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/stats.c')
-rw-r--r-- | net/sunrpc/stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/stats.c b/net/sunrpc/stats.c index 21b75cb08c03..54530490944e 100644 --- a/net/sunrpc/stats.c +++ b/net/sunrpc/stats.c @@ -188,7 +188,7 @@ void rpc_print_iostats(struct seq_file *seq, struct rpc_clnt *clnt) seq_printf(seq, "\tRPC iostats version: %s ", RPC_IOSTATS_VERS); seq_printf(seq, "p/v: %u/%u (%s)\n", - clnt->cl_prog, clnt->cl_vers, clnt->cl_protname); + clnt->cl_prog, clnt->cl_vers, clnt->cl_program->name); rcu_read_lock(); xprt = rcu_dereference(clnt->cl_xprt); |