Re: is there a way to export a fat32 file system using nfs?

Alexander Viro (viro@math.psu.edu)
Tue, 12 Jun 2001 23:09:23 -0400 (EDT)


On Wed, 13 Jun 2001, Neil Brown wrote:

> Call fat_iget(i_location).
> If this finds something, check i_logstart.
> If it matches, assume SUCCESS.
>
> Then comes the tricky bit: read the directory entry
> indicated by i_location, check the i_logstart is right,
> if it is, try to get it into the inode cache properly.

Uh-huh. Suppose that directory had been removed and space had been
reused by a regular file. Which had been filled with the right
contents. It's really not hard to do. Now, remove that file and
you've got a nice data corruption waiting to happen.

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