Re: How to make VFAT work right in 2.4.0-prereleaseu

From: Eelco Dolstra (eelco@losser.st-lab.cs.uu.nl)
Date: Sat Jan 06 2001 - 21:07:02 EST


Hi,

On Sat, 6 Jan 2001, Alan Cox wrote:

> > - edit file fs/fat/inode.c, look in the function named
> > "fat_notify_change" (at about line 901), where it says:"
> > /* FAT cannot truncate to a longer file */
> > if (attr->ia_valid & ATTR_SIZE) {
> > if (attr->ia_size > inode->i_size)
> > return -EPERM;
> > }
> > ", just delete all of it (or comment it out). This change wich has been
> > made in the -prerelease versión, makes Netscape Messenger not to work
>
> If you do that you will corrupt your FAT fs.

But only on SMP, right? The only other FAT change I see in -ac (apart
from my patch) is the spinlock around fat_cache.

Regards,

Eelco.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 07 2001 - 21:00:26 EST