cfg=erasure fixes, use return value of align!()

This commit is contained in:
Rob Walker
2018-08-14 12:04:32 -07:00
parent 53e86f2fa2
commit dccae18b53
3 changed files with 1 additions and 5 deletions

View File

@@ -254,7 +254,7 @@ pub fn generate_coding(
}
// round up to the nearest jerasure alignment
align!(max_data_size, JERASURE_ALIGN);
max_data_size = align!(max_data_size, JERASURE_ALIGN);
trace!("{:x} max_data_size: {}", debug_id, max_data_size);