Rev 2742 | Rev 2758 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2742 | Rev 2756 | ||
|---|---|---|---|
| Line 52... | Line 52... | ||
| 52 | enum { |
52 | enum { |
| 53 | TMPFS_NONE, |
53 | TMPFS_NONE, |
| 54 | TMPFS_FILE, |
54 | TMPFS_FILE, |
| 55 | TMPFS_DIRECTORY |
55 | TMPFS_DIRECTORY |
| 56 | } type; |
56 | } type; |
| - | 57 | unsigned lnkcnt; /**< Link count. */ |
|
| 57 | size_t size; /**< File size if type is TMPFS_FILE. */ |
58 | size_t size; /**< File size if type is TMPFS_FILE. */ |
| 58 | void *data; /**< File content's if type is TMPFS_FILE. */ |
59 | void *data; /**< File content's if type is TMPFS_FILE. */ |
| 59 | } tmpfs_dentry_t; |
60 | } tmpfs_dentry_t; |
| 60 | 61 | ||
| 61 | extern fs_reg_t tmpfs_reg; |
62 | extern fs_reg_t tmpfs_reg; |