All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Cc: Christian Franke <Christian.Franke@t-online.de>
Subject: Re: Infinite loop regression due to recent change in hostfs.c
Date: Sun, 13 Apr 2008 13:46:47 +0200	[thread overview]
Message-ID: <20080413114647.GF20737@thorin> (raw)
In-Reply-To: <20080406132131.jlcomedo2og0ocwc@webmail.spamcop.net>

On Sun, Apr 06, 2008 at 01:21:31PM -0400, Pavel Roskin wrote:
> Quoting Christian Franke <Christian.Franke@t-online.de>:
> 
> >The change in hostfs.c introduces an interesting regression: hostfs now
> >appears in *_init.lst and grub_hostfs_init() is called twice in
> >grub-emu and grub-fstest. This results in a infinite loop because the
> >hostfs entry of grub_fs_list points to itself.
> 
> Thanks for noticing the problem and for the analysis!
> 
> >You should either undo this change or remove extra calls to
> >grub_hostfs_init/fini from grub-emu.c and grub-fstest.c. The latter
> >might not work if it is necessary to init hostfs first for some reason.
> 
> I've removed the extra calls.  I don't see any reasons why hostfs  
> should be registered first.

I suspect it was a remnant from before we had grub_init_all().

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)



      parent reply	other threads:[~2008-04-13 11:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-05 11:36 Infinite loop regression due to recent change in hostfs.c Christian Franke
2008-04-06 17:21 ` Pavel Roskin
2008-04-07 19:39   ` Christian Franke
2008-04-13 11:46   ` Robert Millan [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=20080413114647.GF20737@thorin \
    --to=rmh@aybabtu.com \
    --cc=Christian.Franke@t-online.de \
    --cc=grub-devel@gnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.