[RFC/T PATCH 04/12] mm: remove raw ClearPageLocked() usage

From: Peter Zijlstra
Date: Tue Jul 17 2007 - 11:42:37 EST


remove the last raw ClearPageLocked() user

Signed-off-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
---
mm/swap_state.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6/mm/swap_state.c
===================================================================
--- linux-2.6.orig/mm/swap_state.c
+++ linux-2.6/mm/swap_state.c
@@ -368,7 +368,7 @@ struct page *read_swap_cache_async(swp_e
} while (err != -ENOENT && err != -ENOMEM);

if (new_page) {
- ClearPageLocked(new_page);
+ unlock_page(new_page);
page_cache_release(new_page);
}
return found_page;

--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/