Date: Fri, 4 May 2007 23:31:10 GMT From: Marko Zec <zec@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 119258 for review Message-ID: <200705042331.l44NVAme022814@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=119258 Change 119258 by zec@zec_tca51 on 2007/05/04 23:30:18 A step towards being able to initiate NFS mounts from non-default vnets (and this actually works now). Affected files ... .. //depot/projects/vimage/src/sys/nfsclient/nfs_socket.c#5 edit Differences ... ==== //depot/projects/vimage/src/sys/nfsclient/nfs_socket.c#5 (text+ko) ==== @@ -265,7 +265,11 @@ int error, rcvreserve, sndreserve; int pktscale; struct sockaddr *saddr; +#ifdef VIMAGE + struct thread *td = curthread; /* XXX is this safe? */ +#else struct thread *td = &thread0; /* only used for socreate and sobind */ +#endif NET_LOCK_GIANT();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705042331.l44NVAme022814>