diff --git a/CHANGELOG.md b/CHANGELOG.md index 09f5b2ac..84ed5f0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,11 @@ Release history for s390-tools (MIT version) * __v2.2.1 (xxxx-xx-xx)__ + For Linux kernel version: 4.15 + + Bug Fixes: + - zgetdump: Fix handling of DASD multi-volume dump for partitions above 4 GB + * __v2.2.0 (2017-12-07)__ For Linux kernel version: 4.14 diff --git a/zdump/dfi_s390mv.c b/zdump/dfi_s390mv.c index ba8d3cc6..a226b05e 100644 --- a/zdump/dfi_s390mv.c +++ b/zdump/dfi_s390mv.c @@ -242,7 +242,7 @@ static void vol_init(struct vol *vol, struct vol_parm *vol_parm, int ssid, sprintf(vol->bus_id, "0.%x.%04x", ssid, vol_parm->devno); vol->blk_size = vol_parm->blk_size << 8; - vol->part_off = vol_parm->start_blk * vol->blk_size; + vol->part_off = (u64)vol_parm->start_blk * vol->blk_size; vol->part_size = blk_cnt * vol->blk_size; vol->status = dev_from_busid(vol->bus_id, &vol->dev); vol->sign = SIGN_VALID;