patch-1.3.72 linux/fs/fat/tables.h

Next file: linux/fs/msdos/namei.c
Previous file: linux/fs/fat/tables.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.71/linux/fs/fat/tables.h linux/fs/fat/tables.h
@@ -5,8 +5,17 @@
 
 extern unsigned char fat_a2alias[];		/* Ascii to alias name conversion table */
 extern struct unicode_value fat_a2uni[];	/* Ascii to Unicode conversion table */
-
 extern unsigned char *fat_uni2asc_pg[];
+
+/*
+ * Since Linux can't deal with Unicode in filenames, these provide
+ * a method to encode the Unicode names in a manner that the vfat
+ * filesystem can them decode back to Unicode.  This conversion
+ * only occurs when the filesystem was mounted with the 'uni_xlate' mount
+ * option.
+ */
+extern unsigned char fat_uni2code[];
+extern unsigned char fat_code2uni[];
 
 /*
  * Overrides for Emacs so that we follow Linus's tabbing style.

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this