Commit d400c31f authored by Kevin Corry's avatar Kevin Corry Committed by Linus Torvalds

[PATCH] dm: kcopyd: No need to lock pages

No need to lock kcopyd pages.

From: Alasdair Kergon <agk@redhat.com>
Signed-off-by: default avatarKevin Corry <kevcorry@us.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 247ba46c
......@@ -58,13 +58,11 @@ static struct page_list *alloc_pl(void)
return NULL;
}
SetPageLocked(pl->page);
return pl;
}
static void free_pl(struct page_list *pl)
{
ClearPageLocked(pl->page);
__free_page(pl->page);
kfree(pl);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment