mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-06 17:18:29 +03:00
797265f424
When parsing list of flags, we can use 'alphabetically' sorted array and use 'bsearch()' to look for particular bit. When creating string representation of flags, we can reduce some unnecessary bit lookups by join those flags without string description together, so there is no need to check for those individual 'bits', but still maintaining the bit validation. Also exit the printing loop early, if there are no any more status bit present. |
||
---|---|---|
.. | ||
archive.c | ||
archiver.c | ||
archiver.h | ||
export.c | ||
flags.c | ||
format-text.c | ||
format-text.h | ||
import_vsn1.c | ||
import-export.h | ||
import.c | ||
layout.h | ||
text_export.h | ||
text_import.h | ||
text_label.c |