From: Akio Takebe <takebe_akio@jp.fujitsu.com>
To: Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp>
Cc: Akio Takebe <takebe_akio@jp.fujitsu.com>,
kexec-ml <kexec@lists.infradead.org>
Subject: Re: [Patch] fix error case of xen
Date: Wed, 02 Apr 2008 10:28:47 +0900 [thread overview]
Message-ID: <ACC89460E5F00Dtakebe_akio@jp.fujitsu.com> (raw)
In-Reply-To: <47F1D054.9080307@mxs.nes.nec.co.jp>
Hi, Ohmichi-san
>
>> - return handle_xen();
>> + if (!handle_xen())
>> + goto out;
>
>I guess that the above code is not enough. If handle_xen() succeeds,
>it should return TRUE instead of COMPLETED like the attached patch, right ?
You're right!
Your patch looks good, thank you very much for your review.
Best Regards,
Akio Takebe
>
>
>Thanks
>Ken'ichi Ohmichi
>
>Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
>Signed-off-by: Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp>
>---
>diff -puN backup/v1.2.5/makedumpfile.c makedumpfile/makedumpfile.c
>--- backup/v1.2.5/makedumpfile.c 2008-03-28 11:54:48.000000000 +0900
>+++ makedumpfile/makedumpfile.c 2008-04-01 14:32:03.000000000 +0900
>@@ -5855,7 +5855,7 @@ handle_xen()
> MSG("\n");
> MSG("The dumpfile is saved to %s.\n", info->name_dumpfile);
>
>- return COMPLETED;
>+ return TRUE;
> out:
> return FALSE;
> #endif
>@@ -6146,7 +6146,8 @@ main(int argc, char *argv[])
> goto out;
> }
> info->dump_level |= DL_EXCLUDE_XEN;
>- return handle_xen();
>+ if (!handle_xen())
>+ goto out;
>
> } else if (info->flag_rearrange) {
> if (!open_files_for_rearranging_dumpdata())
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
next prev parent reply other threads:[~2008-04-02 1:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-31 17:24 [Patch] fix error case of xen Akio Takebe
2008-04-01 6:04 ` Ken'ichi Ohmichi
2008-04-01 7:55 ` Ken'ichi Ohmichi
2008-04-01 23:54 ` Akio Takebe
2008-04-02 1:28 ` Akio Takebe [this message]
2008-04-02 4:47 ` Ken'ichi Ohmichi
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=ACC89460E5F00Dtakebe_akio@jp.fujitsu.com \
--to=takebe_akio@jp.fujitsu.com \
--cc=kexec@lists.infradead.org \
--cc=oomichi@mxs.nes.nec.co.jp \
/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 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.