linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mikael Pettersson <mikpe@csd.uu.se>
To: Alexander Viro <viro@math.psu.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: initrd breakage in 2.5.38-2.5.40
Date: Thu, 3 Oct 2002 13:52:47 +0200	[thread overview]
Message-ID: <15772.12175.196556.383774@kim.it.uu.se> (raw)
In-Reply-To: <Pine.GSO.4.21.0210030702500.13480-100000@weyl.math.psu.edu>

Alexander Viro writes:
 > 
 > 
 > On Thu, 3 Oct 2002, Mikael Pettersson wrote:
 > 
 > > First I thought the problem was caused by a apparently missing
 > > set_capacity() call in 2.5.38's drivers/block/rd.c:
 > 
 > I _really_ doubt it - check the loop just above the add_disk() one.
 > set_capacity() call is done there, repeating it won't change anything.

That loop does set_capacity() on each element in rd_disks[], but
set_capacity(disk,size) just sets disk->capacity = size, and
initrd_disk is a different variable so I don't see how initrd_disk
could ever get a capacity assigned to it unless by an explicit
"set_capacity(&initrd_disk, rd_size * 2);".

/Mikael

  reply	other threads:[~2002-10-03 11:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-03 11:00 initrd breakage in 2.5.38-2.5.40 Mikael Pettersson
2002-10-03 11:07 ` Alexander Viro
2002-10-03 11:52   ` Mikael Pettersson [this message]
2002-10-03 14:37     ` Alexander Viro
2002-10-03 12:12   ` Russell King
2002-10-03 14:40     ` Alexander Viro
2002-10-07 12:52 Mikael Pettersson

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=15772.12175.196556.383774@kim.it.uu.se \
    --to=mikpe@csd.uu.se \
    --cc=linux-kernel@vger.kernel.org \
    --cc=viro@math.psu.edu \
    /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).