mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-06 01:58:01 +03:00
aaf25ec6bd
We only checked global per-report-type reserved values for compatibility with selection code. This patch also adds a check for per-report-field reserved values. This avoids problems where unsupported report type is used as reserved value which could cause hard to debug problems otherwise. So this additional check stops from registering unsupported and unhandled per-field reserved values. Registerting such unsupported reserved value is a programmatic error, so report internal error in this case to stop us from making a mistake here in the future or even today where STR_LIST fields can't have reserved values yet.