1 #ifndef _MSDOS_FS_I 2 #define _MSDOS_FS_I 3 4 #ifndef _LINUX_CONFIG_H 5 #include <linux/config.h> 6 #endif 7 #ifndef _LINUX_PIPE_FS_I_H 8 #include <linux/pipe_fs_i.h> 9 #endif 10 11 /* 12 * MS-DOS file system inode data in memory 13 */ 14 15 struct msdos_inode_info { 16 /* 17 UMSDOS manage special file and fifo as normal empty 18 msdos file. fifo inode processing conflict with msdos 19 processing. So I insert the pipe_inode_info so the 20 information does not overlap. This increases the size of 21 the msdos_inode_info, but the clear winner here is 22 the ext2_inode_info. So it does not change anything to 23 the total size of a struct inode. 24 25 I have not put it conditional. With the advent of loadable 26 file system drivers, it would be very easy to compile 27 a MsDOS FS driver unaware of UMSDOS and then later to 28 load a (then incompatible) UMSDOS FS driver. 29 */ 30 struct pipe_inode_info reserved; 31 int i_start; /* first cluster or 0 */ 32 int i_attrs; /* unused attribute bits */ 33 int i_busy; /* file is either deleted but still open, or 34 inconsistent (mkdir) */ 35 struct inode *i_depend; /* pointer to inode that depends on the 36 current inode */ 37 struct inode *i_old; /* pointer to the old inode this inode 38 depends on */ 39 int i_binary; /* file contains non-text data */ 40 }; 41 42 #endif