[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Bug fix for ext2.c
From: |
Bean |
Subject: |
Re: [PATCH] Bug fix for ext2.c |
Date: |
Sun, 15 Mar 2009 14:00:17 +0800 |
On Sun, Mar 15, 2009 at 5:27 AM, Yoshinori K. Okuji <address@hidden> wrote:
> On Sunday 15 March 2009 01:16:23 Bean wrote:
>> Hi,
>>
>> I've discovered a bug in ext2.c, inside grub_ext2_mount. The mount
>> function must return GRUB_ERR_BAD_FS if something goes wrong, because
>> grub_fs_probe would stop as soon as it sees a non-GRUB_ERR_BAD_FS
>> error, thus preventing other fs driver from detecting the correct fs
>> type. This patch fixes the problem.
>
> This patch ignores any kind of failure. That's a problem. If you only convert
> GRUB_ERR_OUT_OF_RANGE to GRUB_ERR_BAD_FS, I agree.
Hi,
Oh right, this one should be ok.
--
Bean
ext2.diff
Description: Binary data