/* map connection to client */
-struct obd_client *gen_client(struct obd_conn *conn)
+struct obd_client *gen_client(const struct obd_conn *conn)
{
struct obd_device * obddev = conn->oc_dev;
struct list_head * lh, * next;
dst->o_size = src->o_size;
dst->o_blocks = src->o_blocks;
dst->o_valid |= (OBD_MD_FLSIZE | OBD_MD_FLBLOCKS);
- UnlockPage(page);
+ obd_unlock_page(page);
__free_page(page);
EXIT;