From c71a0288007d92467820daa18d0ab6d0dfdd1bc0 Mon Sep 17 00:00:00 2001 From: anserper Date: Fri, 20 Mar 2009 17:21:05 +0000 Subject: [PATCH] b=18619 i=Vitaly Fertman i=Johann Lombardi fix for a typo in osc_max_rpc_in_flight --- lustre/osc/osc_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/osc/osc_request.c b/lustre/osc/osc_request.c index b20db09..4b9fff2 100644 --- a/lustre/osc/osc_request.c +++ b/lustre/osc/osc_request.c @@ -2520,7 +2520,7 @@ static int osc_max_rpc_in_flight(struct client_obd *cli, struct lov_oinfo *loi) } if (!hprpc && !list_empty(&loi->loi_read_lop.lop_urgent)) { - oap = list_entry(loi->loi_write_lop.lop_urgent.next, + oap = list_entry(loi->loi_read_lop.lop_urgent.next, struct osc_async_page, oap_urgent_item); hprpc = !!(oap->oap_async_flags & ASYNC_HP); } -- 1.8.3.1