aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/power/swap.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2006-12-06 23:34:44 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-07 11:39:28 -0500
commit59a493350e7aefff7e262efa39e017517b31b8e8 (patch)
treec707e294afd5f6b015844257a044c5f62fef7025 /kernel/power/swap.c
parent5b6d15de2d4c8149902a680a6cd1d3b26cd2e828 (diff)
[PATCH] swsusp: Fix labels
Move all labels in the swsusp code to the second column, so that they won't fool diff -p. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Pavel Machek <pavel@ucw.cz> Cc: Nigel Cunningham <nigel@suspend2.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/power/swap.c')
-rw-r--r--kernel/power/swap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/power/swap.c b/kernel/power/swap.c
index dedf8797b723..f133d4a6d817 100644
--- a/kernel/power/swap.c
+++ b/kernel/power/swap.c
@@ -301,7 +301,7 @@ static int swap_write_page(struct swap_map_handle *handle, void *buf,
301 handle->cur_swap = offset; 301 handle->cur_swap = offset;
302 handle->k = 0; 302 handle->k = 0;
303 } 303 }
304out: 304 out:
305 return error; 305 return error;
306} 306}
307 307
@@ -429,7 +429,7 @@ int swsusp_write(void)
429 if (error) 429 if (error)
430 free_all_swap_pages(root_swap, handle.bitmap); 430 free_all_swap_pages(root_swap, handle.bitmap);
431 release_swap_writer(&handle); 431 release_swap_writer(&handle);
432out: 432 out:
433 swsusp_close(); 433 swsusp_close();
434 return error; 434 return error;
435} 435}