Commit 50b38120 authored by Daisuke Nishimura's avatar Daisuke Nishimura Committed by James Toy

fix indent size.

Signed-off-by: default avatarDaisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 39ec00ec
...@@ -92,12 +92,12 @@ static int __add_to_swap_cache(struct page *page, swp_entry_t entry) ...@@ -92,12 +92,12 @@ static int __add_to_swap_cache(struct page *page, swp_entry_t entry)
spin_unlock_irq(&swapper_space.tree_lock); spin_unlock_irq(&swapper_space.tree_lock);
if (unlikely(error)) { if (unlikely(error)) {
/* /*
* Only the context which have set SWAP_HAS_CACHE flag * Only the context which have set SWAP_HAS_CACHE flag
* would call add_to_swap_cache(). * would call add_to_swap_cache().
* So add_to_swap_cache() doesn't returns -EEXIST. * So add_to_swap_cache() doesn't returns -EEXIST.
*/ */
VM_BUG_ON(error == -EEXIST); VM_BUG_ON(error == -EEXIST);
set_page_private(page, 0UL); set_page_private(page, 0UL);
ClearPageSwapCache(page); ClearPageSwapCache(page);
page_cache_release(page); page_cache_release(page);
......
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