diff mbox series

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

Message ID 417ef622c5b4622fd970f9681d9b9f0cc2af70e2.1709264221.git.msakai@redhat.com (mailing list archive)
State Accepted, archived
Delegated to: Mike Snitzer
Headers show
Series dm vdo block-map: rename page state name from "UDS_FREE" to "FREE" | expand

Commit Message

Matthew Sakai March 1, 2024, 3:38 a.m. UTC
From: Mike Snitzer <snitzer@kernel.org>

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>
---
 drivers/md/dm-vdo/block-map.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/md/dm-vdo/block-map.c b/drivers/md/dm-vdo/block-map.c
index cc87e1ac72b6..e3fadb5f2c2d 100644
--- a/drivers/md/dm-vdo/block-map.c
+++ b/drivers/md/dm-vdo/block-map.c
@@ -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);