Linux RAID subsystem development
 help / color / mirror / Atom feed
From: David Chow <davidchow@shaolinmicro.com>
To: linux-raid@vger.kernel.org
Subject: report on RAID tools bug/patch
Date: Fri, 06 Jun 2003 14:44:17 +0800	[thread overview]
Message-ID: <3EE03841.1030306@shaolinmicro.com> (raw)

Hi Neil,

Referring to the earlier patches you post to fix a problem in mkraid.c 
which saids "array is active -- run raidstop first" . I've try it on 
1.003 from the redhat website and tested it on my system which seems 
alright.  I think this problem has existed in almost all Linux 
distribution as it has been hanging around for a long time. Would you 
please fix it and it will make a lot of people happy :D Thanks.

--- mkraid.c 2002/11/05 19:34:57 1.1
+++ mkraid.c 2002/11/05 19:35:29
@@ -244,7 +244,7 @@ int main (int argc, char *argv[])
     while (*args) {
         for (p = cfg_head; p; p = p->next) {
             if (strcmp(p->md_name, *args)) continue;
- if (check_active(cfg))
+ if (check_active(p))
                 goto abort;
             if (force_flag) {
                 fprintf(stderr, "DESTROYING the contents of %s in 5 
seconds, Ctrl-C if unsure!\n", *args);

regards,
David Chow



             reply	other threads:[~2003-06-06  6:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-06  6:44 David Chow [this message]
2003-06-06  7:03 ` report on RAID tools bug/patch Neil Brown

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=3EE03841.1030306@shaolinmicro.com \
    --to=davidchow@shaolinmicro.com \
    --cc=linux-raid@vger.kernel.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