diff options
author | Olga Kornievskaia <kolga@netapp.com> | 2021-06-08 21:59:15 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-07-08 20:03:23 +0200 |
commit | d3abc73987fd2a5992a9bdae9f44fa43d1b4db70 (patch) | |
tree | 627d8490ed9f2e0ec16b1ebe6f7926eacb10e3d6 /include | |
parent | sunrpc: add IDs to multipath (diff) | |
download | linux-d3abc73987fd2a5992a9bdae9f44fa43d1b4db70.tar.xz linux-d3abc73987fd2a5992a9bdae9f44fa43d1b4db70.zip |
sunrpc: keep track of the xprt_class in rpc_xprt structure
We need to keep track of the type for a given transport.
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sunrpc/xprt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sunrpc/xprt.h b/include/linux/sunrpc/xprt.h index 1fbc470ce205..7efc6c0a5455 100644 --- a/include/linux/sunrpc/xprt.h +++ b/include/linux/sunrpc/xprt.h @@ -53,6 +53,7 @@ enum rpc_display_format_t { struct rpc_task; struct rpc_xprt; +struct xprt_class; struct seq_file; struct svc_serv; struct net; @@ -289,6 +290,7 @@ struct rpc_xprt { atomic_t inject_disconnect; #endif struct rcu_head rcu; + const struct xprt_class *xprt_class; }; #if defined(CONFIG_SUNRPC_BACKCHANNEL) |