Commit 50944062 authored by Mike Snitzer's avatar Mike Snitzer

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: default avatarMike Snitzer <snitzer@kernel.org>
Signed-off-by: default avatarSusan LeGendre-McGhee <slegendr@redhat.com>
Signed-off-by: default avatarMatthew Sakai <msakai@redhat.com>
parent f304f6b4
...@@ -284,7 +284,7 @@ static const char * __must_check get_page_state_name(enum vdo_page_buffer_state ...@@ -284,7 +284,7 @@ static const char * __must_check get_page_state_name(enum vdo_page_buffer_state
{ {
int result; int result;
static const char * const state_names[] = { 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); BUILD_BUG_ON(ARRAY_SIZE(state_names) != PAGE_STATE_COUNT);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment