dm vdo block-map: rename page state name from "UDS_FREE" to "FREE"

Only used for log message, but no need for "UDS_" prefix.

Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Susan LeGendre-McGhee <slegendr@redhat.com>
Signed-off-by: Matthew Sakai <msakai@redhat.com>
This commit is contained in:
Mike Snitzer 2024-02-13 11:04:11 -06:00
parent f304f6b443
commit 50944062f7

View File

@ -284,7 +284,7 @@ static const char * __must_check get_page_state_name(enum vdo_page_buffer_state
{
int result;
static const char * const state_names[] = {
"UDS_FREE", "INCOMING", "FAILED", "RESIDENT", "DIRTY", "OUTGOING"
"FREE", "INCOMING", "FAILED", "RESIDENT", "DIRTY", "OUTGOING"
};
BUILD_BUG_ON(ARRAY_SIZE(state_names) != PAGE_STATE_COUNT);