sunrpc: keep track of the xprt_class in rpc_xprt structure
[linux-2.6-microblaze.git] / include / linux / sunrpc / xprt.h
index 1fbc470..7efc6c0 100644 (file)
@@ -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)