Whamcloud - gitweb
Fixed stupid bug, calling kunmap() on an address
authorpschwan <pschwan>
Sun, 3 Mar 2002 08:03:03 +0000 (08:03 +0000)
committerpschwan <pschwan>
Sun, 3 Mar 2002 08:03:03 +0000 (08:03 +0000)
lustre/osc/osc_request.c

index a370271..d9030ff 100644 (file)
@@ -390,7 +390,7 @@ int osc_brw_read(struct obd_conn *conn, obd_count num_oa, struct obdo **oa,
                 for (j = 0; j < oa_bufs[i]; j++) {
                         if (bulk[n] == NULL)
                                 continue;
-                        kunmap(bulk[n]->b_buf);
+                        kunmap(buf[n]);
                         OBD_FREE(bulk[n], sizeof(struct ptlrpc_bulk_desc));
                         n++;
                 }