From 8ce7c0c18f334b323e9a8d7fac29db6801a766ac Mon Sep 17 00:00:00 2001 From: pschwan Date: Sat, 15 Jun 2002 03:21:47 +0000 Subject: [PATCH] Back out bad kunmap "fix" --- 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 deb82cb..0f5ec19 100644 --- a/lustre/osc/osc_request.c +++ b/lustre/osc/osc_request.c @@ -472,8 +472,8 @@ static int osc_brw_read(struct obd_conn *conn, obd_count num_oa, list_for_each(tmp, &desc->b_page_list) { struct ptlrpc_bulk_page *bulk; bulk = list_entry(tmp, struct ptlrpc_bulk_page, b_link); - if (bulk->b_buf != NULL) - kunmap(bulk->b_buf); + if (bulk->b_page != NULL) + kunmap(bulk->b_page); } ptlrpc_free_bulk(desc); out2: -- 1.8.3.1