]> sourceware.org Git - lvm2.git/commit
libdm: use dm_bit_get_last() in _stats_group_tag_fill()
authorBryn M. Reeves <bmr@redhat.com>
Tue, 13 Dec 2016 10:32:29 +0000 (10:32 +0000)
committerBryn M. Reeves <bmr@redhat.com>
Tue, 13 Dec 2016 21:02:18 +0000 (21:02 +0000)
commite8d966bc31741f846dc6d0d4af9a565d19560b98
tree1c98237110d833773380226100bd593826400d21
parent5d1d65e735b6dcc5f02d0e536e3b63617f40ce83
libdm: use dm_bit_get_last() in _stats_group_tag_fill()

Instead of iterating over all bits, use dm_bit_get_last() to find
the last set bit in the group bitmap.
libdm/libdm-stats.c
This page took 0.030376 seconds and 5 git commands to generate.