Unbreak options VIMAGE kernel builds.

Approved by:	julian (mentor)
This commit is contained in:
Marko Zec 2009-05-31 11:57:51 +00:00
parent ebcc3763a8
commit 705fe7ce35
2 changed files with 2 additions and 1 deletions

View File

@ -1374,7 +1374,7 @@ nfs_create(struct vop_create_args *ap)
}
mtx_unlock(&dnp->n_mtx);
CURVNET_SET(nmp->nm_sockreq.nr_so->so_vnet);
CURVNET_SET(P_TO_VNET(&proc0));
#ifdef INET
INIT_VNET_INET(curvnet);
if (!TAILQ_EMPTY(&V_in_ifaddrhead))

View File

@ -2673,6 +2673,7 @@ nfsrv_v4rootexport(void *argp, struct ucred *cred, struct thread *p)
int
nfsrv_getsocksndseq(struct socket *so, tcp_seq *maxp, tcp_seq *unap)
{
INIT_VNET_INET(so->so_vnet);
struct inpcb *inp;
struct tcpcb *tp;
int error = EPIPE;