From 4f88f83af0a3a1dfb5bf16149590aded0e181462 Mon Sep 17 00:00:00 2001 From: adilger Date: Thu, 15 Aug 2002 00:14:34 +0000 Subject: [PATCH] Fix strange non-complaining error for missing page_array and pagearray declarations. --- lustre/osc/osc_request.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lustre/osc/osc_request.c b/lustre/osc/osc_request.c index 1f41284..2039e04 100644 --- a/lustre/osc/osc_request.c +++ b/lustre/osc/osc_request.c @@ -433,7 +433,6 @@ static int osc_brw_read(struct lustre_handle *conn, struct lov_stripe_md *md, /* Callbacks cause asynchronous handling. */ rc = callback(data, 0, CB_PHASE_START); - EXIT; out_req: ptlrpc_req_finished(request); RETURN(rc); @@ -441,7 +440,7 @@ out_req: /* Clean up on error. */ out_unmap: while (mapped-- > 0) - kunmap(page_array[mapped]); + kunmap(pga[mapped]); OBD_FREE(cb_data, sizeof(*cb_data)); out_desc: ptlrpc_bulk_decref(desc); @@ -552,15 +551,14 @@ static int osc_brw_write(struct lustre_handle *conn, struct lov_stripe_md *md, /* Callbacks cause asynchronous handling. */ rc = callback(data, 0, CB_PHASE_START); - EXIT; out_req: ptlrpc_req_finished(request); - return rc; + RETURN(rc); /* Clean up on error. */ out_unmap: while (mapped-- > 0) - kunmap(pagearray[mapped]); + kunmap(pga[mapped]); OBD_FREE(local, page_count * sizeof(*local)); out_cb: -- 1.8.3.1