mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
ebc9abf6c0
Since the function dm_get_next_target() returns NULL as 'next' pointer so it's not a 'real' error - set 0 to all parameters when NULL is returned because of missing head. i.e. one of use case:: do { next = dm_get_next_target(dmt, next, &start, &length, &target_type, ¶ms); size += length; } while (next);