xref: /minix/minix/fs/ext2/glo.h (revision 9f988b79)
1 /* EXTERN should be extern except for the table file */
2 
3 #ifndef EXT2_GLO_H
4 #define EXT2_GLO_H
5 
6 #ifdef _TABLE
7 #undef EXTERN
8 #define EXTERN
9 #endif
10 
11 /* The following variables are used for returning results to the caller. */
12 EXTERN int err_code;        /* temporary storage for error number */
13 
14 EXTERN int cch[NR_INODES];
15 
16 EXTERN dev_t fs_dev;              /* The device that is handled by this FS proc
17                                    */
18 
19 /* Little hack for syncing group descriptors. */
20 EXTERN int group_descriptors_dirty;
21 
22 EXTERN struct opt opt;		/* global options */
23 
24 /* On ext2 metadata is stored in little endian format, so we shoud take
25  * care about byte swapping, when have BE CPU. */
26 EXTERN int le_CPU;	/* little/big endian, if TRUE do not swap bytes */
27 
28 extern struct fsdriver ext2_table;
29 
30 #endif /* EXT2_GLO_H */
31