1 Aug 2009 13:35
Re: [PATCH 07/11] nfs-utils: convert nfssvc_setfds to use getaddrinfo
On 06/08/2009 02:00 PM, Jeff Layton wrote:
> static void
> nfssvc_versbits(unsigned int ctlbits, int minorvers4)
> {
> <at> <at> -180,8 +246,11 <at> <at> nfssvc(int port, int nrservs, unsigned int versbits, int minorvers4,
> * the ports get registered with portmap against correct
> * versions
> */
> - nfssvc_versbits(versbits, minorvers4);
> - nfssvc_setfds(port, protobits, haddr);
> + if (!nfssvc_inuse()) {
> + nfssvc_versbits(versbits, minorvers4);
> + snprintf(buf, sizeof(buf), "%d", port);
> + nfssvc_set_sockets(AF_INET, protobits, haddr, portstr);
portstr is not defined here.... and as far as I can tell its not
defined in any of the next 3 patches either...
What am I missing or it is missing?
steved.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@...
More majordomo info at http://vger.kernel.org/majordomo-info.html
RSS Feed