| 136 | } |
| 137 | |
| 138 | static void romfs_remove(romfs_mount *mount) |
| 139 | { |
| 140 | for(romfs_mount **it = &romfs_mount_list; *it; it = &(*it)->next) |
| 141 | { |
| 142 | if(*it == mount) |
| 143 | { |
| 144 | *it = mount->next; |
| 145 | return; |
| 146 | } |
| 147 | } |
| 148 | } |
| 149 | |
| 150 | static romfs_mount* romfs_alloc(void) |
| 151 | { |