remove the last raw ClearPageLocked() user
Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]>
---
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 [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/