diff options
author | Roland McGrath <roland@gnu.org> | 2000-02-04 03:21:18 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2000-02-04 03:21:18 +0000 |
commit | 8880a73970b23f10c720011cb910c0e0e1e02975 (patch) | |
tree | d1ce76577a1ace5312fc0576a93d4d8db1e89323 /pfinet/linux-src/include/linux/msdos_fs_i.h | |
parent | 8399aa4ab7b849da57f4c59039f091526c9e2f98 (diff) | |
parent | 9fd51e9b0ad33a89a83fdbbb66bd20d85f7893fb (diff) | |
download | hurd-8880a73970b23f10c720011cb910c0e0e1e02975.tar.gz hurd-8880a73970b23f10c720011cb910c0e0e1e02975.tar.bz2 hurd-8880a73970b23f10c720011cb910c0e0e1e02975.zip |
Merge from vendor branch Linux:
Import of Linux 2.2.12 subset (ipv4 stack and related)
Diffstat (limited to 'pfinet/linux-src/include/linux/msdos_fs_i.h')
-rw-r--r-- | pfinet/linux-src/include/linux/msdos_fs_i.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pfinet/linux-src/include/linux/msdos_fs_i.h b/pfinet/linux-src/include/linux/msdos_fs_i.h new file mode 100644 index 00000000..929de3db --- /dev/null +++ b/pfinet/linux-src/include/linux/msdos_fs_i.h @@ -0,0 +1,39 @@ +#ifndef _MSDOS_FS_I +#define _MSDOS_FS_I + +#ifndef _LINUX_PIPE_FS_I_H +#include <linux/pipe_fs_i.h> +#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 MS-DOS 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_logstart; /* logical first cluster */ + int i_attrs; /* unused attribute bits */ + int i_ctime_ms; /* unused change time in milliseconds */ + int i_binary; /* file contains non-text data */ + int i_location; /* on-disk position of directory entry or 0 */ + struct inode *i_fat_inode; /* struct inode of this one */ + struct list_head i_fat_hash; /* hash by i_location */ + off_t i_last_pos;/* position of last lookup */ +}; + +#endif |