Re: FAT statfs loop abort on read-error

From: OGAWA Hirofumi
Date: Fri Sep 12 2003 - 12:14:04 EST


Sancho Dauskardt <sda@xxxxxxx> writes:

> Hi,
>
> It's a while back, but now here's a patch that "works for me".
> Once applied, we get a nice -EIO when doing a df / statfs() on a
> mounted FAT partition with removed media (without this would hang for
> minutes).
>
> The change will affect anybody calling fat_access() (the cvf stuff,
> other fat-dependent modules).

Yes, it looks like broken the fat_cvf API. So we should remove the
fat_cvf stuff, and it should return the real error code.

Even fat was broken. (fat_read_root etc. was not addressed)

Thanks.
--
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/