From: Pete Zaitcev <zaitcev@redhat.com>
To: Neil Brown <neilb@suse.de>
Cc: linux-raid@vger.kernel.org, mingo@redhat.com, dledford@redhat.com
Subject: Re: Curious code in autostart_array
Date: Thu, 22 Jun 2006 22:25:19 -0700 [thread overview]
Message-ID: <20060622222519.095fcdfc.zaitcev@redhat.com> (raw)
In-Reply-To: <17563.29205.266098.447047@cse.unsw.edu.au>
On Fri, 23 Jun 2006 14:46:13 +1000, Neil Brown <neilb@suse.de> wrote:
> > dev_t dev = MKDEV(desc->major, desc->minor);
> > if (MAJOR(dev) != desc->major || MINOR(dev) != desc->minor)
> > continue;
> desc->major and desc->minor have been
> read of the disk, so their values cannot be trusted.
Oh, right. Sorry.
-- Pete
prev parent reply other threads:[~2006-06-23 5:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-23 4:05 Curious code in autostart_array Pete Zaitcev
2006-06-23 4:11 ` H. Peter Anvin
2006-06-23 4:46 ` Neil Brown
2006-06-23 5:25 ` Pete Zaitcev [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=20060622222519.095fcdfc.zaitcev@redhat.com \
--to=zaitcev@redhat.com \
--cc=dledford@redhat.com \
--cc=linux-raid@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=neilb@suse.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;
as well as URLs for NNTP newsgroup(s).