• Andries E. Brouwer's avatar
    [PATCH] fat/inode.c · fd44b2f9
    Andries E. Brouwer authored
    Two years ago, OGAWA Hirofumi removed some ugly code and
    added a few simple tests to the FAT filesystem code,
    intended to avoid recognizing non-FAT as FAT (for people who
    fail to specify rootfstype=, forcing the kernel to guess).
    
    That worked fairly well, until this year.
    
    I have now seen a thread in Czech and a report from Holland that
    involved the "FAT: bogus sectors-per-track value" error message.
    
    The patch below removes this test again. The advantage is that
    some real-life FAT filesystems can be mounted again.
    
    The disadvantage that more non-FAT fss will be accepted as FAT.
    
    Ferry van Steen <freaky@bananateam.nl> reports "the patch Andries
    Brouwer gave me seems to work".
    Signed-off-by: default avatarAndries Brouwer <aeb@cwi.nl>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    fd44b2f9
inode.c 34.8 KB