FreeBSD/sys/kern/vfs_mount.c
/* Release all resources related to the mount options. */
Release all resources related to the mount options.
Release all resources related to the mount options .
void
vfs_freeopts(struct vfsoptlist *opts)
{
	struct vfsopt *opt;
	while (!TAILQ_EMPTY(opts)) {
		opt = TAILQ_FIRST(opts);
		vfs_freeopt(opts, opt);
	}
	free(opts, M_MOUNT);
}
void vfs_freeopts ( struct vfsoptlist * opts ) { struct vfsopt * opt ; while ( ! TAILQ_EMPTY ( opts ) ) { opt = TAILQ_FIRST ( opts ) ; vfs_freeopt ( opts , opt ) ; } free ( opts , M_MOUNT ) ; }
Release all resources related to the mount options.
Release all resources related to the mount options .