From 3ed3f7ec47d4a0a3bdca7455dfae53c54f4a5a0b Mon Sep 17 00:00:00 2001 From: adilger Date: Thu, 15 Aug 2002 03:48:11 +0000 Subject: [PATCH] Hopefully final fix for kunmap problem - will check with a chaos build... --- 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 2039e04..9bb2c04 100644 --- a/lustre/osc/osc_request.c +++ b/lustre/osc/osc_request.c @@ -440,7 +440,7 @@ out_req: /* Clean up on error. */ out_unmap: while (mapped-- > 0) - kunmap(pga[mapped]); + kunmap(pga[mapped].pg); OBD_FREE(cb_data, sizeof(*cb_data)); out_desc: ptlrpc_bulk_decref(desc); @@ -558,7 +558,7 @@ out_req: /* Clean up on error. */ out_unmap: while (mapped-- > 0) - kunmap(pga[mapped]); + kunmap(pga[mapped].pg); OBD_FREE(local, page_count * sizeof(*local)); out_cb: -- 1.8.3.1