1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

cleanup: convert to 32bit

Chunk sizes fits into 4G range, so keep it in 32bit range.
This commit is contained in:
Zdenek Kabelac 2012-12-13 20:35:38 +01:00
parent 0958905b1b
commit 03be45ac0a

View File

@ -1618,7 +1618,7 @@ int update_pool_params(struct cmd_context *cmd, unsigned attr,
(2 * DEFAULT_THIN_POOL_MAX_METADATA_SIZE *
(SECTOR_SIZE / UINT64_C(64)));
log_warn("WARNING: Chunk size is too small for pool, suggested minimum is %s.",
display_size(cmd, 1 << (ffs(estimate_chunk_size) + 1)));
display_size(cmd, 1 << (int)(ffs(estimate_chunk_size) + 1)));
}
/* Round up to extent size */