Whamcloud - gitweb
* Landing fix on HEAD, originally committed to b_devel
authorphil <phil>
Sun, 3 Aug 2003 21:04:49 +0000 (21:04 +0000)
committerphil <phil>
Sun, 3 Aug 2003 21:04:49 +0000 (21:04 +0000)
r=rread
move spin_unlock outside the condition, noticed by eric.

lustre/ptlrpc/client.c

index 50ea587..f9319c0 100644 (file)
@@ -1585,8 +1585,8 @@ void ptlrpc_abort_inflight(struct obd_import *imp)
                                 wake_up(&req->rq_set->set_waitq);
                         else
                                 wake_up(&req->rq_wait_for_rep);
-                        spin_unlock (&req->rq_lock);
                 }
+                spin_unlock (&req->rq_lock);
         }
 
         /* Last chance to free reqs left on the replay list, but we