|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH]blktap2: fix initializing tapdisk_disk_types table.
In tapdisk-disktype.c table tapdisk_disk_types at index 8 has NULL value. This
causes, in function tapdisk_disktype_find, breaking loop without checking all
values.
Signed-off-by: Lukasz Oles <lukaszoles@xxxxxxxxx>
diff -r e5d3ba8491bb -r 65db3394ef79 tools/blktap2/drivers/tapdisk-disktype.h
--- a/tools/blktap2/drivers/tapdisk-disktype.h Mon Jun 07 14:53:16 2010 -0700
+++ b/tools/blktap2/drivers/tapdisk-disktype.h Tue Aug 17 21:19:05 2010 +0000
@@ -37,9 +37,9 @@
#define DISK_TYPE_RAM 5
#define DISK_TYPE_QCOW 6
#define DISK_TYPE_BLOCK_CACHE 7
-#define DISK_TYPE_LOG 9
-#define DISK_TYPE_REMUS 10
-#define DISK_TYPE_VINDEX 11
+#define DISK_TYPE_LOG 8
+#define DISK_TYPE_REMUS 9
+#define DISK_TYPE_VINDEX 10
#define DISK_TYPE_NAME_MAX 32
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH]blktap2: fix initializing tapdisk_disk_types table.,
Łukasz Oleś <=
|
|
|
|
|