Import 2.1.81
[davej-history.git] / include / linux / msdos_fs_i.h
blob674999c58e72d2f5ea48ff0b91f784174c4ad8e8
1 #ifndef _MSDOS_FS_I
2 #define _MSDOS_FS_I
4 #ifndef _LINUX_PIPE_FS_I_H
5 #include <linux/pipe_fs_i.h>
6 #endif
8 /*
9 * MS-DOS file system inode data in memory
12 struct msdos_inode_info {
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.
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.
27 struct pipe_inode_info reserved;
28 int i_start; /* first cluster or 0 */
29 int i_logstart; /* logical first cluster */
30 int i_attrs; /* unused attribute bits */
31 int i_ctime_ms; /* unused change time in milliseconds */
32 int i_busy; /* file is either deleted but still open, or
33 inconsistent (mkdir) */
34 int i_binary; /* file contains non-text data */
37 #endif