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

Daeho Jeong posted 1 patch 3 months, 1 week ago
include/f2fs_fs.h | 1 +
1 file changed, 1 insertion(+)
[PATCH] f2fs-tools: add a missing device_alias in the feature table
Posted by Daeho Jeong 3 months, 1 week ago
From: Daeho Jeong <daehojeong@google.com>

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")
Signed-off-by: Daeho Jeong <daehojeong@google.com>
---
 include/f2fs_fs.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/f2fs_fs.h b/include/f2fs_fs.h
index 6f3f83a..88a854a 100644
--- a/include/f2fs_fs.h
+++ b/include/f2fs_fs.h
@@ -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}, \
 };
 
-- 
2.51.1.838.g19442a804e-goog
Re: [f2fs-dev] [PATCH] f2fs-tools: add a missing device_alias in the feature table
Posted by Chao Yu 3 months, 1 week ago
On 10/28/25 02:53, Daeho Jeong wrote:
> From: Daeho Jeong <daehojeong@google.com>
> 
> 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")
> Signed-off-by: Daeho Jeong <daehojeong@google.com>

Reviewed-by: Chao Yu <chao@kernel.org>

Thanks,