commit | 0fbeb5a45dccd493c35a68a5548e6a9d9882a791 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rjw@sisk.pl> | Tue Nov 08 21:34:41 2005 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Wed Nov 09 07:55:52 2005 -0800 |
tree | 4cf24e2d08bd39d06cbe372376b4d996df8378f4 | |
parent | ed14b52701e6ef5a5aaf7bdb75932d5ea5dd7387 [diff] |
[PATCH] swsusp: rework swsusp_suspend This patch makes only the functions in swsusp.c call functions in snapshot.c and not both ways. It also moves the check for available swap out of swsusp_suspend() which is necessary for separating the swap-handling functions in swsusp from the core code. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Cc: Pavel Machek <pavel@ucw.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>