[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Bug fix for ext2.c
From: |
Yoshinori K. Okuji |
Subject: |
Re: [PATCH] Bug fix for ext2.c |
Date: |
Sun, 15 Mar 2009 06:27:34 +0900 |
User-agent: |
KMail/1.9.10 |
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.
Regards,
Okuji