From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1QjfKm-0002dM-VL for mharc-grub-devel@gnu.org; Wed, 20 Jul 2011 18:33:40 -0400 Received: from eggs.gnu.org ([140.186.70.92]:36970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjfKh-0002cv-Tz for grub-devel@gnu.org; Wed, 20 Jul 2011 18:33:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QjfKf-0004YJ-2x for grub-devel@gnu.org; Wed, 20 Jul 2011 18:33:35 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:33258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjfKe-0004YA-O3 for grub-devel@gnu.org; Wed, 20 Jul 2011 18:33:32 -0400 Received: by wwf22 with SMTP id 22so568520wwf.30 for ; Wed, 20 Jul 2011 15:33:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type; bh=YxEEehTN9ldr0wWgC7DLcc5xZFS/t4FMCmtmsN9kKcM=; b=RK7Bge1g86wttyD2LHgwoTVOA7UvY/UgsLQ7CRUITruSWP7gutm6gcfU3VqSdp7f0P hWuLPsBaohjPcUMfjSmpNWC/6uOEQMzdgsMoG/EmZQHHICHbbH33eXyja0LClMdxnl5f Hu8h7eH3zC20DSn4ZVrizLbaptbcPX9uyRhPg= Received: by 10.216.54.197 with SMTP id i47mr153468wec.48.1311201211648; Wed, 20 Jul 2011 15:33:31 -0700 (PDT) Received: from debian.x201.phnet (24-148.203-62.cust.bluewin.ch [62.203.148.24]) by mx.google.com with ESMTPS id n18sm549193wbh.23.2011.07.20.15.33.29 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 20 Jul 2011 15:33:30 -0700 (PDT) Message-ID: <4E2757B7.4070205@gmail.com> Date: Thu, 21 Jul 2011 00:33:27 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110626 Iceowl/1.0b2 Icedove/3.1.11 MIME-Version: 1.0 To: Samuel Thibault Subject: Re: grub2 claims grub.cfg is out of partition References: <1311198605.2740.58.camel@x60> <4E27506F.6040702@gmail.com> <1311200227.2740.60.camel@x60> <20110720222808.GE7303@const.famille.thibault.fr> In-Reply-To: <20110720222808.GE7303@const.famille.thibault.fr> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig6FCBC4E4D207471A2AA523CF" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.49 Cc: The development of GNU GRUB , 634799@bugs.debian.org X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2011 22:33:38 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6FCBC4E4D207471A2AA523CF Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 21.07.2011 00:28, Samuel Thibault wrote: > The attached patch fixes it. Shall I commit it to upstream grub2? > Go ahead > Samuel > patch > > > =3D=3D=3D modified file 'grub-core/fs/ext2.c' > --- grub-core/fs/ext2.c 2011-04-11 21:01:51 +0000 > +++ grub-core/fs/ext2.c 2011-07-20 22:20:43 +0000 > @@ -689,7 +689,7 @@ grub_ext2_iterate_dir (grub_fshelp_node_ > if (dirent.direntlen =3D=3D 0) > return 0; > =20 > - if (dirent.namelen !=3D 0) > + if (dirent.inode !=3D 0 && dirent.namelen !=3D 0) > { > char filename[dirent.namelen + 1]; > struct grub_fshelp_node *fdiro; > --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig6FCBC4E4D207471A2AA523CF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAk4nV7cACgkQNak7dOguQgmpSQD+JnyPuP9geCYAkmJ0q49ky9xF zzpPpEFWkSySzZ5LOR4A/jtssI/9OFRU67h4JraDtVmMw1bSygfH7abrL3fdcZ+j =dq2v -----END PGP SIGNATURE----- --------------enig6FCBC4E4D207471A2AA523CF--