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