From: Dave Jones <davej@redhat.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>, Pavel Machek <pavel@ucw.cz>,
Andrew Morton <akpm@osdl.org>, Linus Torvalds <torvalds@osdl.org>
Subject: Re: [PATCH] revert "swsusp: fix breakage with swap on lvm"
Date: Sun, 11 Jun 2006 20:08:59 -0400 [thread overview]
Message-ID: <20060612000859.GA16992@redhat.com> (raw)
In-Reply-To: <200603231702.k2NH2MUS006739@hera.kernel.org>
On Thu, Mar 23, 2006 at 05:02:22PM +0000, Linux Kernel wrote:
> commit 2b322ce210aec74ae0d02938d3a01e29fe079469
> tree a9cb9aa9530cadacae62caf009db506db16eb3c1
> parent bdaff4a331db46f3bd953f413316c4603c4004b4
> author Andrew Morton <akpm@osdl.org> Thu, 23 Mar 2006 18:59:58 -0800
> committer Linus Torvalds <torvalds@g5.osdl.org> Thu, 23 Mar 2006 23:38:07 -0800
>
> [PATCH] revert "swsusp: fix breakage with swap on lvm"
>
> This was a temporary thing for 2.6.16.
>
> Cc: "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>
>
> kernel/power/swsusp.c | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/kernel/power/swsusp.c b/kernel/power/swsusp.c
> index 2d9d08f..4e90905 100644
> --- a/kernel/power/swsusp.c
> +++ b/kernel/power/swsusp.c
> @@ -153,11 +153,13 @@ static int swsusp_swap_check(void) /* Th
> {
> int i;
>
> + if (!swsusp_resume_device)
> + return -ENODEV;
> spin_lock(&swap_lock);
> for (i = 0; i < MAX_SWAPFILES; i++) {
> if (!(swap_info[i].flags & SWP_WRITEOK))
> continue;
> - if (!swsusp_resume_device || is_resume_device(swap_info + i)) {
> + if (is_resume_device(swap_info + i)) {
> spin_unlock(&swap_lock);
> root_swap = i;
> return 0;
So, now I'm getting bug reports from users about .17rc breaking
their resume again. (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=194784)
If this was a temporary thing, what should we be doing to keep
old installations working ?
Dave
--
http://www.codemonkey.org.uk
next parent reply other threads:[~2006-06-12 0:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200603231702.k2NH2MUS006739@hera.kernel.org>
2006-06-12 0:08 ` Dave Jones [this message]
2006-06-12 10:21 ` [PATCH] revert "swsusp: fix breakage with swap on lvm" Rafael J. Wysocki
2006-06-12 12:25 ` Dave Jones
2006-06-12 20:38 ` Rafael J. Wysocki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060612000859.GA16992@redhat.com \
--to=davej@redhat.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=rjw@sisk.pl \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox