I'd suspect to rethink the fix. From mainline kernel git:
Author: Rafael J. Wysocki <email address hidden> 2010-12-11 21:46:44
Committer: Rafael J. Wysocki <email address hidden> 2010-12-16 17:08:58
PM / Hibernate: Restore old swap signature to avoid user space breakage
Commit 3624eb0 (PM / Hibernate: Modify signature used to mark swap)
attempted to modify hibernate signature used to mark swap partitions
containing hibernation images, so that old kernels don't try to
handle compressed images. However, this change broke resume from
hibernation on Fedora 14 that apparently doesn't pass the resume=
argument to the kernel and tries to trigger resume from early user
space. This doesn't work, because the signature is now different,
so the old signature has to be restored to avoid the problem.
I'd suspect to rethink the fix. From mainline kernel git:
Author: Rafael J. Wysocki <email address hidden> 2010-12-11 21:46:44
Committer: Rafael J. Wysocki <email address hidden> 2010-12-16 17:08:58
PM / Hibernate: Restore old swap signature to avoid user space breakage
Commit 3624eb0 (PM / Hibernate: Modify signature used to mark swap)
attempted to modify hibernate signature used to mark swap partitions
containing hibernation images, so that old kernels don't try to
handle compressed images. However, this change broke resume from
hibernation on Fedora 14 that apparently doesn't pass the resume=
argument to the kernel and tries to trigger resume from early user
space. This doesn't work, because the signature is now different,
so the old signature has to be restored to avoid the problem.
Addresses https:/ /bugzilla. kernel. org/show_ bug.cgi? id=22732 .
Reported-by: Dr. David Alan Gilbert <email address hidden>
Reported-by: Zhang Rui <email address hidden>
Reported-by: Pascal Chapperon <email address hidden>
Signed-off-by: Rafael J. Wysocki <email address hidden>