mirror of
git://sourceware.org/git/lvm2.git
synced 2025-07-01 20:59:09 +03:00
Introduce _mda_is_ignored() and _rlocn_is_ignored() wrapper functions with warn_unused_result attribute to enforce return value checking. This follows the established pattern used by dm_strncpy() and _dm_strncpy(): - Functions without underscore prefix can be used without checking return values - Functions with underscore prefix must have their return values checked The change improves static analysis coverage by ensuring that critical metadata area and raw location ignored state checks are properly validated, reducing the risk of unhandled error conditions in metadata processing.