patch-2.1.90 linux/include/linux/sunrpc/clnt.h

Next file: linux/include/linux/swap.h
Previous file: linux/include/linux/socket.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.89/linux/include/linux/sunrpc/clnt.h linux/include/linux/sunrpc/clnt.h
@@ -30,6 +30,7 @@
  * The high-level client handle
  */
 struct rpc_clnt {
+	unsigned int		cl_users;	/* number of references */
 	struct rpc_xprt *	cl_xprt;	/* transport */
 	struct rpc_procinfo *	cl_procinfo;	/* procedure info */
 	u32			cl_maxproc;	/* max procedure number */
@@ -37,7 +38,6 @@
 	char *			cl_server;	/* server machine name */
 	char *			cl_protname;	/* protocol name */
 	struct rpc_auth *	cl_auth;	/* authenticator */
-	struct rpc_portmap	cl_pmap;	/* port mapping */
 	struct rpc_stat *	cl_stats;	/* statistics */
 
 	unsigned int		cl_softrtry : 1,/* soft timeouts */
@@ -47,10 +47,11 @@
 				cl_binding  : 1,/* doing a getport() */
 				cl_oneshot  : 1,/* dispose after use */
 				cl_dead     : 1;/* abandoned */
+	unsigned int		cl_flags;	/* misc client flags */
 	unsigned long		cl_hardmax;	/* max hard timeout */
 
+	struct rpc_portmap	cl_pmap;	/* port mapping */
 	struct rpc_wait_queue	cl_bindwait;	/* waiting on getport() */
-	unsigned int		cl_users;	/* number of references */
 };
 #define cl_timeout		cl_xprt->timeout
 #define cl_prog			cl_pmap.pm_prog

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov