Remove one mount option. */
| 162 | |
| 163 | /* Remove one mount option. */ |
| 164 | static void |
| 165 | vfs_freeopt(struct vfsoptlist *opts, struct vfsopt *opt) |
| 166 | { |
| 167 | |
| 168 | TAILQ_REMOVE(opts, opt, link); |
| 169 | free(opt->name, M_MOUNT); |
| 170 | if (opt->value != NULL) |
| 171 | free(opt->value, M_MOUNT); |
| 172 | free(opt, M_MOUNT); |
| 173 | } |
| 174 | |
| 175 | /* Release all resources related to the mount options. */ |
| 176 | void |
no test coverage detected