libvirt/src/storage_file
Jiri Denemark 5198c2542a storage_file: Compute QCOW2 cluster size as ULL
While the QCOW2 cluster size is represented in only 4 bits in the QCOW2
header and thus 1 << cluster_size cannot overflow int,
qcow2GetClusterSize is supposed to return unsigned long long so we can
just compute the result as ULL rather than computing it as int and
promoting to unsigned long long.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
2021-10-26 10:04:43 +02:00
..
meson.build storage_source: Move backing store parsers into new file 2021-01-27 07:49:57 +01:00
storage_file_backend_fs.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
storage_file_backend_fs.h
storage_file_backend_gluster.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
storage_file_backend_gluster.h
storage_file_backend.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
storage_file_backend.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
storage_file_probe.c storage_file: Compute QCOW2 cluster size as ULL 2021-10-26 10:04:43 +02:00
storage_file_probe.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
storage_source_backingstore.c Replace AbsPath judgement method with g_path_is_absolute() 2021-04-21 10:02:09 +02:00
storage_source_backingstore.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
storage_source.c Replace AbsPath judgement method with g_path_is_absolute() 2021-04-21 10:02:09 +02:00
storage_source.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00