Skip to contentSkip to conversation

f2fs-tools: add a missing device_alias in the feature table

PATCH In review Daeho Jeong 2 participants 2 messages Oct 27, 2025 – Oct 28, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 f2fs-tools: add a missing device_alias in the feature table

From: Daeho Jeong <[email protected]>

Add a missing "device_alias" feature into the feature table to show it properly in print_sb_state().

Fixes 8cc4e257ec20 ("mkfs.f2fs: add device aliasing feature")
---
 include/f2fs_fs.h | 1 +
 1 file changed, 1 insertion(+)
include/f2fs_fs.h +1 -0
index 6f3f83a..88a854a 100644
@@ -2022,6 +2022,7 @@ struct feature feature_table[] = {					\
 	{ "casefold",			F2FS_FEATURE_CASEFOLD,		1}, \
 	{ "compression",		F2FS_FEATURE_COMPRESSION,	1}, \
 	{ "ro",				F2FS_FEATURE_RO,		1}, \
+	{ "device_alias",		F2FS_FEATURE_DEVICE_ALIAS,	0}, \
 	{ NULL,				0x0,				0}, \
 };
 
Signature · 1 line
2.51.1.838.g19442a804e-goog