]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Remove 'type' field from FileTypeInfo struct
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 14 Jun 2010 15:39:32 +0000 (16:39 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 19 Jul 2010 14:51:02 +0000 (15:51 +0100)
commit779b6ea7c4b05fd0d39d987531f2b2f425e2ce43
treea32c8e634ec2bb1df1e5c90b926777106653655a
parenta93402d48b2996e5300754d299ef0d3f646aa098
Remove 'type' field from FileTypeInfo struct

Instead of including a field in FileTypeInfo struct for the
disk format, rely on the array index matching the format.
Use verify() to assert the correct number of elements in the
array.

* src/util/storage_file.c: remove type field from FileTypeInfo
src/util/storage_file.c