patch-2.4.0-test7 linux/fs/hpfs/hpfs.h

Next file: linux/fs/hpfs/map.c
Previous file: linux/fs/hpfs/dir.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test6/linux/fs/hpfs/hpfs.h linux/fs/hpfs/hpfs.h
@@ -187,7 +187,9 @@
 					   in data block */
     secno code_page_data;		/* sector number of a code_page_data
 					   containing c.p. array */
-    unsigned index;			/* index in c.p. array in that sector*/
+    unsigned short index;		/* index in c.p. array in that sector*/
+    unsigned short unknown;		/* some unknown value; usually 0;
+    					   2 in Japanese version */
   } array[31];				/* unknown length */
 };
 
@@ -207,7 +209,7 @@
   struct {
     unsigned short ix;			/* index */
     unsigned short code_page_number;	/* code page number */
-    unsigned short zero1;
+    unsigned short unknown;		/* the same as in cp directory */
     unsigned char map[128];		/* upcase table for chars 80..ff */
     unsigned short zero2;
   } code_page[3];

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)