> -    if (size % dev->blk.conf.logical_block_size) {
> +    if (size % dev->conf.conf.logical_block_size) {

This look strange (conf.conf)

Anyway this seems correct.

Reviewed-by: Benoit Canet <benoit.ca...@nodalink.com>

Reply via email to