svn commit: r261082 - stable/9/sys/rpc

Alexander Motin mav at FreeBSD.org
Thu Jan 23 17:27:17 UTC 2014


Author: mav
Date: Thu Jan 23 17:27:16 2014
New Revision: 261082
URL: http://svnweb.freebsd.org/changeset/base/261082

Log:
  Fix build on stable/9.
  
  I am sorry. :(

Modified:
  stable/9/sys/rpc/svc.h
  stable/9/sys/rpc/svc_vc.c

Modified: stable/9/sys/rpc/svc.h
==============================================================================
--- stable/9/sys/rpc/svc.h	Thu Jan 23 17:26:28 2014	(r261081)
+++ stable/9/sys/rpc/svc.h	Thu Jan 23 17:27:16 2014	(r261082)
@@ -327,7 +327,7 @@ enum svcpool_state {
 typedef SVCTHREAD *pool_assign_fn(SVCTHREAD *, struct svc_req *);
 typedef void pool_done_fn(SVCTHREAD *, struct svc_req *);
 typedef struct __rpc_svcpool {
-	struct mtx_padalign sp_lock;	/* protect the transport lists */
+	struct mtx	sp_lock;	/* protect the transport lists */
 	const char	*sp_name;	/* pool name (e.g. "nfsd", "NLM" */
 	enum svcpool_state sp_state;	/* current pool state */
 	struct proc	*sp_proc;	/* process which is in svc_run */

Modified: stable/9/sys/rpc/svc_vc.c
==============================================================================
--- stable/9/sys/rpc/svc_vc.c	Thu Jan 23 17:26:28 2014	(r261081)
+++ stable/9/sys/rpc/svc_vc.c	Thu Jan 23 17:27:16 2014	(r261082)
@@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$");
  */
 
 #include <sys/param.h>
+#include <sys/limits.h>
 #include <sys/lock.h>
 #include <sys/kernel.h>
 #include <sys/malloc.h>


More information about the svn-src-all mailing list