aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-05-26 09:41:13 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-05-28 14:04:14 +0200
commitc7b4a95202032bf1a9e13dd9695389c0ed246eec (patch)
tree7e2034ac2c28b5557fee29e675aab4ab90239237 /block
parentc9b9f6824fd82058f6918b64d8fd9b1578fac353 (diff)
ISCSI: change num_blocks to 64-bit
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'block')
-rw-r--r--block/iscsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/iscsi.c b/block/iscsi.c
index db41bb7582..9cd258ff6f 100644
--- a/block/iscsi.c
+++ b/block/iscsi.c
@@ -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;