diff options
author | Cong Wang <amwang@redhat.com> | 2011-11-25 16:14:31 +0100 |
---|---|---|
committer | Cong Wang <xiyou.wangcong@gmail.com> | 2012-03-20 14:48:24 +0100 |
commit | 50bc9b65b6e32f146c3c9812a9d62fe7ff518b5a (patch) | |
tree | 02d0206da0f4ea6a472708da02d5e4083570960c /fs/logfs/segment.c | |
parent | jbd2: remove the second argument of k[un]map_atomic() (diff) | |
download | linux-50bc9b65b6e32f146c3c9812a9d62fe7ff518b5a.tar.xz linux-50bc9b65b6e32f146c3c9812a9d62fe7ff518b5a.zip |
logfs: remove the second argument of k[un]map_atomic()
Signed-off-by: Cong Wang <amwang@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | fs/logfs/segment.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/logfs/segment.c b/fs/logfs/segment.c index ab798ed1cc88..e28d090c98d6 100644 --- a/fs/logfs/segment.c +++ b/fs/logfs/segment.c @@ -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); } |