[ALSA] hda-codec - Fix oops with ALC880
[safe/jmp/linux-2.6] / fs / lockd / mon.c
index 81b5e77..2d144ab 100644 (file)
@@ -115,6 +115,7 @@ nsm_create(void)
        xprt = xprt_create_proto(IPPROTO_UDP, &sin, NULL);
        if (IS_ERR(xprt))
                return (struct rpc_clnt *)xprt;
+       xprt->resvport = 1;     /* NSM requires a reserved port */
 
        clnt = rpc_create_client(xprt, "localhost",
                                &nsm_program, SM_VERSION,
@@ -124,7 +125,6 @@ nsm_create(void)
        clnt->cl_softrtry = 1;
        clnt->cl_chatty   = 1;
        clnt->cl_oneshot  = 1;
-       xprt->resvport = 1;     /* NSM requires a reserved port */
        return clnt;
 
 out_err: