commit | f06f6b66c789c41165b46f98c88141b955cd594d | [log] [tgz] |
---|---|---|
author | Eric Blake <eblake@redhat.com> | Wed Oct 11 22:47:00 2017 -0500 |
committer | Kevin Wolf <kwolf@redhat.com> | Thu Oct 26 14:45:57 2017 +0200 |
tree | c802d33b99c3811910a878bbf5f86bca70fe20eb | |
parent | 7cfd527525a7d6b1c904890a6b84c1227846415e [diff] |
qcow2: Switch is_zero_sectors() to byte-based We are gradually converting to byte-based interfaces, as they are easier to reason about than sector-based. Convert another internal function (no semantic change), and rename it to is_zero() in the process. Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>