mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: wangyanqing <udknight@gmail.com>
Cc: warns@pre-sense.de, linux-kernel@vger.kernel.org, tj@kernel.org,
	jaxboe@fusionio.com, Matt Domsch <Matt_Domsch@dell.com>
Subject: Re: [PATCH] fs:partitions:efi.c: correct misuse force_gpt
Date: Mon, 21 Nov 2011 16:56:55 -0800	[thread overview]
Message-ID: <20111121165655.18224b14.akpm@linux-foundation.org> (raw)
In-Reply-To: <20111122004434.GA6584@udknight.homenetwork>

On Tue, 22 Nov 2011 08:44:34 +0800
wangyanqing <udknight@gmail.com> wrote:

> The primary gpt header maybe broken, so we should
> check the alternate gpt header no matter whether
> there is a gpt boot parameter.(The alternate gpt header
> is for this way).
> 
> Signed-off-by: Wang YanQing <udknight@gmail.com>
> ---
>  fs/partitions/efi.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/fs/partitions/efi.c b/fs/partitions/efi.c
> index 6296b40..53fd92f 100644
> --- a/fs/partitions/efi.c
> +++ b/fs/partitions/efi.c
> @@ -553,7 +553,7 @@ static int find_valid_gpt(struct parsed_partitions *state, gpt_header **gpt,
>  		good_agpt = is_gpt_valid(state,
>  					 le64_to_cpu(pgpt->alternate_lba),
>  					 &agpt, &aptes);
> -        if (!good_agpt && force_gpt)
> +        if (!good_agpt)
>                  good_agpt = is_gpt_valid(state, lastlba, &agpt, &aptes);
>  
>          /* The obviously unsuccessful case */

Please Cc Matt on patches to efi.c.

Neither scripts/get_maintainer.pl nor ./MAINTAINERS know that Matt
knows about efi.c, which is unfortunate.  But his name and email address are
right there at the top of the file.


  reply	other threads:[~2011-11-22  0:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-22  0:44 wangyanqing
2011-11-22  0:56 ` Andrew Morton [this message]
     [not found]   ` <20111122043325.GA4979@emperor.us.dell.com>
2011-11-22  5:33     ` wangyanqing

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=20111121165655.18224b14.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=Matt_Domsch@dell.com \
    --cc=jaxboe@fusionio.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tj@kernel.org \
    --cc=udknight@gmail.com \
    --cc=warns@pre-sense.de \
    /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

all inboxes | Powered by JetHome®