ISCSI: change num_blocks to 64-bit
authorPaolo Bonzini <pbonzini@redhat.com>
Sat, 26 May 2012 07:41:13 +0000 (09:41 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 28 May 2012 12:04:14 +0000 (14:04 +0200)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
block/iscsi.c

index db41bb7..9cd258f 100644 (file)
@@ -38,7 +38,7 @@ typedef struct IscsiLun {
     struct iscsi_context *iscsi;
     int lun;
     int block_size;
-    unsigned long num_blocks;
+    uint64_t num_blocks;
     int events;
 } IscsiLun;