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 db41bb758203ba4369a90c768567d8d7a664e5bb..9cd258ff6f900376da81f565945182e97d3ee060 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;