SwapMig: fix double page unlock The cleanup patches screwed things up slightly. In case of an unsuccessful migration a page may be unlocked twice. Signed-off-by: Christoph Lameter Index: linux-2.6.15-rc2-mm1/mm/vmscan.c =================================================================== --- linux-2.6.15-rc2-mm1.orig/mm/vmscan.c 2005-11-28 11:06:15.000000000 -0800 +++ linux-2.6.15-rc2-mm1/mm/vmscan.c 2005-11-28 11:23:45.000000000 -0800 @@ -751,6 +751,7 @@ redo: list_move(&page->lru, moved); continue; } + goto next; unlock_page: unlock_page(page);