lockd: shift grabbing a reference to nlm_host into nlm_alloc_call()
[linux-2.6-block.git] / fs / lockd / svcproc.c
index d27aab11f32414ae165cec40083ef20f08de0466..90cfe9a0bf5595058cf257d69bb5726173cadd21 100644 (file)
@@ -294,6 +294,7 @@ static __be32 nlmsvc_callback(struct svc_rqst *rqstp, u32 proc, struct nlm_args
                return rpc_system_err;
 
        call = nlm_alloc_call(host);
+       nlmsvc_release_host(host);
        if (call == NULL)
                return rpc_system_err;