From 1513ff9b7899ab588401c89db0e99903dbf5f886 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Mon, 28 Nov 1994 11:59:19 +0000 Subject: Import of Linus's Linux 1.1.68 --- include/linux/msdos_fs_i.h | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 include/linux/msdos_fs_i.h (limited to 'include/linux/msdos_fs_i.h') diff --git a/include/linux/msdos_fs_i.h b/include/linux/msdos_fs_i.h new file mode 100644 index 000000000..f74cd2ba4 --- /dev/null +++ b/include/linux/msdos_fs_i.h @@ -0,0 +1,42 @@ +#ifndef _MSDOS_FS_I +#define _MSDOS_FS_I + +#ifndef _LINUX_CONFIG_H +#include +#endif +#ifndef _LINUX_PIPE_FS_I_H +#include +#endif + +/* + * MS-DOS file system inode data in memory + */ + +struct msdos_inode_info { + /* + UMSDOS manage special file and fifo as normal empty + msdos file. fifo inode processing conflict with msdos + processing. So I insert the pipe_inode_info so the + information does not overlap. This increases the size of + the msdos_inode_info, but the clear winner here is + the ext2_inode_info. So it does not change anything to + the total size of a struct inode. + + I have not put it conditional. With the advent of loadable + file system drivers, it would be very easy to compile + a MsDOS FS driver unaware of UMSDOS and then later to + load a (then incompatible) UMSDOS FS driver. + */ + struct pipe_inode_info reserved; + int i_start; /* first cluster or 0 */ + int i_attrs; /* unused attribute bits */ + int i_busy; /* file is either deleted but still open, or + inconsistent (mkdir) */ + struct inode *i_depend; /* pointer to inode that depends on the + current inode */ + struct inode *i_old; /* pointer to the old inode this inode + depends on */ + int i_binary; /* file contains non-text data */ +}; + +#endif -- cgit v1.2.3