Re: [PATCH] vfat+affs case preservation

viro@parcelfarce.linux.theplanet.co.uk
Wed, 2 Jul 2003 13:04:27 +0100


On Wed, Jul 02, 2003 at 12:53:28PM +0200, Jan Kratochvil wrote:
> > Broken. With that we can get two active dentries for the same directory.
> > There goes any cache coherency, with all usual results.
>
> Right, this patch will introduce virtual directory hardlinks - multiple dentries
> to one directory inode. But it also makes dentry validation mandatory for such
> filesystems to fix it.

Obvious example of bad behaviour:

# mkdir A
# ls A
# mount -t iso9600 /dev/cdrom A
# touch a/b
# ls a/b
a/b
# ls A/b
ls: A/b: No such file or directory
# umount A
# ls A/b
A/b
#
-
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/