diff options
Diffstat (limited to 'kernel/power/swap.c')
-rw-r--r-- | kernel/power/swap.c | 4 |
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 | } |
304 | out: | 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); |
432 | out: | 432 | out: |
433 | swsusp_close(); | 433 | swsusp_close(); |
434 | return error; | 434 | return error; |
435 | } | 435 | } |