All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] PM / Hibernate: Restore old swap signature to avoid user space breakage
@ 2010-12-05 22:24 Rafael J. Wysocki
  2010-12-05 23:36   ` [linux-pm] " Bojan Smojver
                   ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Rafael J. Wysocki @ 2010-12-05 22:24 UTC (permalink / raw)
  To: Linux-pm mailing list
  Cc: LKML, Dr. David Alan Gilbert, Karel Zak, Pavel Machek

From: Rafael J. Wysocki <rjw@sisk.pl>

Commit 3624eb0 (PM / Hibernate: Modify signature used to mark swap)
modified hibernate signature used to mark swap partitions containing
hibernation images, but that turns out to have caused problems in
libblkid on recent Ubuntu.  Restore the old signature to avoid those
problems.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Reported-by: Dr. David Alan Gilbert <linux@treblig.org>
---
 kernel/power/swap.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6/kernel/power/swap.c
===================================================================
--- linux-2.6.orig/kernel/power/swap.c
+++ linux-2.6/kernel/power/swap.c
@@ -30,7 +30,7 @@
 
 #include "power.h"
 
-#define HIBERNATE_SIG	"LINHIB0001"
+#define HIBERNATE_SIG	"S1SUSPEND"
 
 /*
  *	The swap map is a data structure used for keeping track of each page

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [PATCH] PM / Hibernate: Restore old swap signature to avoid user space breakage
@ 2010-12-05 22:24 Rafael J. Wysocki
  0 siblings, 0 replies; 22+ messages in thread
From: Rafael J. Wysocki @ 2010-12-05 22:24 UTC (permalink / raw)
  To: Linux-pm mailing list; +Cc: Karel Zak, LKML, Dr. David Alan Gilbert

From: Rafael J. Wysocki <rjw@sisk.pl>

Commit 3624eb0 (PM / Hibernate: Modify signature used to mark swap)
modified hibernate signature used to mark swap partitions containing
hibernation images, but that turns out to have caused problems in
libblkid on recent Ubuntu.  Restore the old signature to avoid those
problems.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Reported-by: Dr. David Alan Gilbert <linux@treblig.org>
---
 kernel/power/swap.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6/kernel/power/swap.c
===================================================================
--- linux-2.6.orig/kernel/power/swap.c
+++ linux-2.6/kernel/power/swap.c
@@ -30,7 +30,7 @@
 
 #include "power.h"
 
-#define HIBERNATE_SIG	"LINHIB0001"
+#define HIBERNATE_SIG	"S1SUSPEND"
 
 /*
  *	The swap map is a data structure used for keeping track of each page

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2010-12-11 21:10 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-05 22:24 [PATCH] PM / Hibernate: Restore old swap signature to avoid user space breakage Rafael J. Wysocki
2010-12-05 23:36 ` Bojan Smojver
2010-12-05 23:36   ` [linux-pm] " Bojan Smojver
2010-12-06 13:26   ` Karel Zak
2010-12-06 22:22     ` Rafael J. Wysocki
2010-12-06 22:22     ` Rafael J. Wysocki
2010-12-06 13:26   ` Karel Zak
2010-12-11 19:58   ` Rafael J. Wysocki
2010-12-11 19:58   ` [linux-pm] " Rafael J. Wysocki
2010-12-11 20:30     ` Bojan Smojver
2010-12-11 20:36       ` Rafael J. Wysocki
2010-12-11 20:36       ` [linux-pm] " Rafael J. Wysocki
2010-12-11 20:47         ` Bojan Smojver
2010-12-11 20:49           ` R. J. Wysocki
2010-12-11 20:49             ` [linux-pm] " R. J. Wysocki
2010-12-11 21:10             ` Bojan Smojver
2010-12-11 21:10             ` [linux-pm] " Bojan Smojver
2010-12-11 20:47         ` Bojan Smojver
2010-12-11 20:30     ` Bojan Smojver
2010-12-11 20:17 ` Rafael J. Wysocki
2010-12-11 20:17 ` Rafael J. Wysocki
  -- strict thread matches above, loose matches on Subject: below --
2010-12-05 22:24 Rafael J. Wysocki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.