summaryrefslogtreecommitdiffstats
path: root/linux-headers/linux
diff options
context:
space:
mode:
authorFam Zheng2016-01-26 04:58:58 +0100
committerMax Reitz2016-02-02 17:50:47 +0100
commitd0a18f10251f515c86dcaec5bdf979a4e07fafc5 (patch)
tree6faef7830e2c1b94584aff25d92a9cbdcfaebf2b /linux-headers/linux
parentvpc: Assign bs->file->bs to file in vpc_co_get_block_status (diff)
downloadqemu-d0a18f10251f515c86dcaec5bdf979a4e07fafc5.tar.gz
qemu-d0a18f10251f515c86dcaec5bdf979a4e07fafc5.tar.xz
qemu-d0a18f10251f515c86dcaec5bdf979a4e07fafc5.zip
vmdk: Fix calculation of block status's offset
"offset" is the offset of cluster and sector_num doesn't necessarily refer to the start of it, it should add index_in_cluster. Signed-off-by: Fam Zheng <famz@redhat.com> Message-id: 1453780743-16806-12-git-send-email-famz@redhat.com Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'linux-headers/linux')
0 files changed, 0 insertions, 0 deletions