Skip to content

Commit

Permalink
dm vdo block-map: rename page state name from "UDS_FREE" to "FREE"
Browse files Browse the repository at this point in the history
Only used for log message, but no need for "UDS_" prefix.

Signed-off-by: Mike Snitzer <[email protected]>
Signed-off-by: Susan LeGendre-McGhee <[email protected]>
Signed-off-by: Matthew Sakai <[email protected]>
  • Loading branch information
Mike Snitzer authored and lorelei-sakai committed Feb 15, 2024
1 parent 855e6c1 commit f22e45f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/md/dm-vdo/block-map.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f22e45f

Please sign in to comment.