]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: conf: Correctly calculate exabyte unit
authorCole Robinson <crobinso@redhat.com>
Mon, 22 Feb 2010 20:49:27 +0000 (15:49 -0500)
committerCole Robinson <crobinso@redhat.com>
Tue, 23 Feb 2010 14:44:37 +0000 (09:44 -0500)
commit67b44811af145d43ef4383301135f50990816110
treec6f5d691ed35fcd6d94c576203c8fa3a43087b40
parentdca81d0472e8689d41154089e6d886824d5c4554
storage: conf: Correctly calculate exabyte unit

We were using 'Y' to mean exabyte, when the correct abbreviation would be
'E' ('Y' is yettabyte, which is exabyte * 1024 * 1024). While it isn't
strictly backwards compatible, I highly doubt anyone was actually using
this broken behavior, so I don't see any harm in in dropping 'Y' handling.
src/conf/storage_conf.c