On 01/31/2014 01:02 PM, joel SIMOES wrote:
From: Joel joel.sim...@laposte.net
Fix bug 1055479
https://bugzilla.redhat.com/show_bug.cgi?id=1055479
Libvirt lose sheepdogs volumes on pool refresh or restart.
When restarting sheepdog pool, all volumes are missing.
This patch add automatically
Howto check size of **char
Thx.
+char *line = *(lines + i);
+cells = virStringSplit(line, , 0);
+size_t j;
+for (j = 0; *(cells + j); j++) {
You can eliminate this whole loop by checking if cells has at least two
entries and using cells[1] directly.
Le
From: Joel joel.sim...@laposte.net
Fix bug 1055479
https://bugzilla.redhat.com/show_bug.cgi?id=1055479
Libvirt lose sheepdogs volumes on pool refresh or restart.
When restarting sheepdog pool, all volumes are missing.
This patch add automatically all volume from the added pool.
---