From d07adb1f554bdfd61ee371a6534f72d09a59f7bf Mon Sep 17 00:00:00 2001 From: braam Date: Tue, 2 Jul 2002 08:41:34 +0000 Subject: [PATCH] - add missing unlocks. --- lustre/ptlrpc/service.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lustre/ptlrpc/service.c b/lustre/ptlrpc/service.c index a979435..a4591e8 100644 --- a/lustre/ptlrpc/service.c +++ b/lustre/ptlrpc/service.c @@ -156,6 +156,7 @@ static int handle_incoming_request(struct obd_device *obddev, CERROR("incomplete request: ptl %d from %Lx xid %Ld\n", svc->srv_req_portal, event->initiator.nid, request.rq_xid); + spin_unlock(&svc->srv_lock); return -EINVAL; } @@ -163,6 +164,7 @@ static int handle_incoming_request(struct obd_device *obddev, CERROR("wrong lustre_msg magic: ptl %d from %Lx xid %Ld\n", svc->srv_req_portal, event->initiator.nid, request.rq_xid); + spin_unlock(&svc->srv_lock); return -EINVAL; } @@ -170,6 +172,7 @@ static int handle_incoming_request(struct obd_device *obddev, CERROR("wrong lustre_msg version: ptl %d from %Lx xid %Ld\n", svc->srv_req_portal, event->initiator.nid, request.rq_xid); + spin_unlock(&svc->srv_lock); return -EINVAL; } -- 1.8.3.1