Skip to content
Commit d4e6e836 authored by Zhengyuan Liu's avatar Zhengyuan Liu Committed by Mike Snitzer
Browse files

dm log writes: use struct_size() to calculate size of pending_block



Use struct_size() to avoid open-coded equivalent that is prone to a type
mistake.

Signed-off-by: default avatarZhengyuan Liu <liuzhengyuan@kylinos.cn>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 9c81c99b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment