Switch collect_mounts() to struct path