As otherwise python will crash horribly.
Signed-off-by: Hannes Reinecke <hare@suse.de>
}
list_head_init(&r->hosts);
+ r->refcount = 1;
nvme_scan_topology(r, f);
return r;
}
s->refcount = 1;
list_head_init(&s->ctrls);
list_head_init(&s->namespaces);
+ list_node_init(&s->entry);
list_add(&h->subsystems, &s->entry);
h->r->modified = true;
return s;
free(grpid);
}
+ list_node_init(&p->nentry);
+ list_node_init(&p->entry);
list_add(&c->paths, &p->entry);
return 0;