logfs: remove the second argument of k[un]map_atomic()

Signed-off-by: Cong Wang <amwang@redhat.com>
This commit is contained in:
Cong Wang
2011-11-25 23:14:31 +08:00
committed by Cong Wang
parent 303a8f2afc
commit 50bc9b65b6
3 changed files with 30 additions and 30 deletions

View File

@@ -543,9 +543,9 @@ void move_page_to_btree(struct page *page)
BUG_ON(!item); /* mempool empty */
memset(item, 0, sizeof(*item));
child = kmap_atomic(page, KM_USER0);
child = kmap_atomic(page);
item->val = child[pos];
kunmap_atomic(child, KM_USER0);
kunmap_atomic(child);
item->child_no = pos;
list_add(&item->list, &block->item_list);
}