Whamcloud - gitweb
b=7357
authoralex <alex>
Thu, 18 Aug 2005 10:42:25 +0000 (10:42 +0000)
committeralex <alex>
Thu, 18 Aug 2005 10:42:25 +0000 (10:42 +0000)
 - check lop body as well

lustre/osc/osc_request.c

index 170c8dc..2177ac3 100644 (file)
@@ -1476,6 +1476,7 @@ static int osc_send_oap_rpc(struct client_obd *cli, struct lov_oinfo *loi,
         ENTRY;
 
         LASSERT(lop != LP_POISON);
+        LASSERT(lop->lop_pending.next != LP_POISON);
 
         /* first we find the pages we're allowed to work with */
         list_for_each_safe(pos, tmp, &lop->lop_pending) {