aboutsummaryrefslogtreecommitdiff
path: root/net/l2tpv3.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2015-02-11 17:19:57 +0100
committerMichael Roth <mdroth@linux.vnet.ibm.com>2015-03-08 22:58:14 -0500
commitc70221df1f89953e85a3f1f96ceefbd6888bb55f (patch)
treeef6376d06edddfca6a66f26646d30381a7cdf1d3 /net/l2tpv3.c
parent07db6859abffa79db6290a5f9f4dfdf93148189f (diff)
vpc: Fix size in fixed image creation
If total_sectors is rounded to match the geometry, total_size needs to be changed as well. Otherwise we end up with an image whose geometry describes a disk larger than the image file, which doesn't end well. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> (cherry picked from commit c7dd631d482912fd615a9ef18a0e0691e7a84836) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'net/l2tpv3.c')
0 files changed, 0 insertions, 0 deletions