From: adilger Date: Sat, 3 Apr 2004 04:39:18 +0000 (+0000) Subject: Don't dereference uninitialized variable. X-Git-Tag: v1_8_0_110~486^6~27 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=6f53751f65de8e5812d0e072f6431c13bd7e237d;p=fs%2Flustre-release.git Don't dereference uninitialized variable. b=2543 --- 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; }