linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jes Sorensen <jes@trained-monkey.org>
To: Zhao Heming <heming.zhao@suse.com>, linux-raid@vger.kernel.org
Cc: lidong.zhong@suse.com, xni@redhat.com
Subject: Re: [PATCH] super1: fix Floating point exception
Date: Wed, 3 Mar 2021 09:30:45 -0500	[thread overview]
Message-ID: <16ff61e7-b59c-639a-62ac-c6cacb1b4781@trained-monkey.org> (raw)
In-Reply-To: <1612000194-6015-1-git-send-email-heming.zhao@suse.com>

On 1/30/21 4:49 AM, Zhao Heming wrote:
> write_bitmap1 didn't check return value of locate_bitmap1, which will
> operate bitmap area under invalid bitmap info.
> 
> mdadm core dumped when doing below steps:
> ```
> node1 # mdadm -C /dev/md0 -b none -e 1.2 -n 2 -l mirror /dev/sda /dev/sdb
> node1 # mdadm -Ss
> node1 # mdadm -A -U home-cluster --home-cluster=abc /dev/md0 /dev/sda /dev/sdb
> Floating point exception (core dumped)
> ```
> 
> Signed-off-by: Zhao Heming <heming.zhao@suse.com>
> ---
>  super1.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)

Applied!

Thanks,
Jes


      parent reply	other threads:[~2021-03-04  0:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-30  9:49 [PATCH] super1: fix Floating point exception Zhao Heming
2021-03-02  8:34 ` resend: [PATCH mdadm] " heming.zhao
2021-03-03 14:30 ` Jes Sorensen [this message]

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=16ff61e7-b59c-639a-62ac-c6cacb1b4781@trained-monkey.org \
    --to=jes@trained-monkey.org \
    --cc=heming.zhao@suse.com \
    --cc=lidong.zhong@suse.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=xni@redhat.com \
    /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;
as well as URLs for NNTP newsgroup(s).