override: iterate virDomainFSInfo.devAliases using ndevAliases
commit8b0e955d9563e519340a95fc9d678b30e0001134
authorTomoki Sekiyama <tomoki.sekiyama@hds.com>
Mon, 1 Dec 2014 21:23:56 +0000 (1 16:23 -0500)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 2 Dec 2014 08:13:57 +0000 (2 09:13 +0100)
tree2d213fee5331ed8988ce8a36ce1c43120de696c5
parent39f19f0a2db57ff2e852c3ff97582f4832884986
override: iterate virDomainFSInfo.devAliases using ndevAliases

Currently devAliases in virDomainFSInfo struct are iterated as a
NULL-terminated list, but that is not guaranteed. It should use
ndevAliases which stores the number of the items in devAliases.

Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama@hds.com>
libvirt-override.c