Rev 2 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | pj | 1 | /* |
2 | * |
||
3 | * |
||
4 | * |
||
5 | * |
||
6 | */ |
||
7 | |||
8 | #ifndef __MSDOS_I_H__ |
||
9 | #define __MSDOS_I_H__ |
||
10 | |||
11 | #include <fs/types.h> |
||
12 | |||
13 | struct msdos_inode_info { |
||
14 | /* where this inode reside on disk */ |
||
15 | __uint32_t lsector; /* logical sector */ |
||
16 | int offs; /* offset, in sizeof(struct directoryentry) */ |
||
17 | /* where the data of this inode begin*/ |
||
18 | __uint16_t scluster; /* start cluster */ |
||
19 | }; |
||
20 | |||
21 | #define MSDOS_I(ptr) (ptr->u.msdos_i) |
||
22 | |||
23 | #endif |