From 6f53751f65de8e5812d0e072f6431c13bd7e237d Mon Sep 17 00:00:00 2001 From: adilger Date: Sat, 3 Apr 2004 04:39:18 +0000 Subject: [PATCH] Don't dereference uninitialized variable. b=2543 --- lustre/osc/osc_request.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/osc/osc_request.c b/lustre/osc/osc_request.c index 8312434..601d59d 100644 --- a/lustre/osc/osc_request.c +++ b/lustre/osc/osc_request.c @@ -1432,7 +1432,7 @@ static int osc_send_oap_rpc(struct client_obd *cli, struct lov_oinfo *loi, if (oap->oap_count <= 0) { CDEBUG(D_CACHE, "oap %p count %d, completing\n", oap, oap->oap_count); - osc_ap_completion(cli, aa->aa_oa, oap, 0, oap->oap_count); + osc_ap_completion(cli, NULL, oap, 0, oap->oap_count); continue; } @@ -1464,7 +1464,7 @@ static int osc_send_oap_rpc(struct client_obd *cli, struct lov_oinfo *loi, * were between the pending list and the rpc */ if (oap->oap_interrupted) { CDEBUG(D_INODE, "oap %p interrupted\n", oap); - osc_ap_completion(cli, aa->aa_oa, oap, 0, + osc_ap_completion(cli, NULL, oap, 0, oap->oap_count); continue; } -- 1.8.3.1