From 02a0d7da9f3ac7238b826b961d61e6a964e550f3 Mon Sep 17 00:00:00 2001 From: pschwan Date: Thu, 25 Jul 2002 23:34:29 +0000 Subject: [PATCH] set b_page in osc_brw_write, so that it will get kunmapped when complete --- lustre/osc/osc_request.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/osc/osc_request.c b/lustre/osc/osc_request.c index f740a2e..d6c73d8 100644 --- a/lustre/osc/osc_request.c +++ b/lustre/osc/osc_request.c @@ -689,6 +689,7 @@ static int osc_brw_write(struct lustre_handle *conn, bulk->b_buf = (void *)(unsigned long)local[j].addr; bulk->b_buflen = local[j].len; bulk->b_xid = remote->xid; + bulk->b_page = pagearray[j]; } if (desc->b_page_count != page_count) -- 1.8.3.1