Skip to contentSkip to conversation

f2fs: Fix two spelling mistakes in f2fs_zone_status array

PATCH In review Colin Ian King 2 participants 4 messages Feb 29, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 f2fs: Fix two spelling mistakes in f2fs_zone_status array

The array f2fs_zone_status contains two spelling mistakes in literal strings. Fix them.

---
 fs/f2fs/segment.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
fs/f2fs/segment.c +2 -2
index bdb27e4a604b..072c4355d3d3 100644
@@ -4921,8 +4921,8 @@ static int sanity_check_curseg(struct f2fs_sb_info *sbi)
 const char *f2fs_zone_status[BLK_ZONE_COND_OFFLINE + 1] = {
 	[BLK_ZONE_COND_NOT_WP]		= "NOT_WP",
 	[BLK_ZONE_COND_EMPTY]		= "EMPTY",
-	[BLK_ZONE_COND_IMP_OPEN]	= "IMPLICITE_OPEN",
-	[BLK_ZONE_COND_EXP_OPEN]	= "EXPLICITE_OPEN",
+	[BLK_ZONE_COND_IMP_OPEN]	= "IMPLICIT_OPEN",
+	[BLK_ZONE_COND_EXP_OPEN]	= "EXPLICIT_OPEN",
 	[BLK_ZONE_COND_CLOSED]		= "CLOSED",
 	[BLK_ZONE_COND_READONLY]	= "READONLY",
 	[BLK_ZONE_COND_FULL]		= "FULL",
Signature · 1 line
2.39.2
maintainer
#1 lore raw

Hi Colin,

Thank you for the fix. If you don't mind, can I integrate this fix into the original patch?

Thanks,

Quoted 25 lines · Colin Ian King

The array f2fs_zone_status contains two spelling mistakes in literal strings. Fix them.

---
 fs/f2fs/segment.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
fs/f2fs/segment.c +2 -2
index bdb27e4a604b..072c4355d3d3 100644
@@ -4921,8 +4921,8 @@ static int sanity_check_curseg(struct f2fs_sb_info *sbi)
 const char *f2fs_zone_status[BLK_ZONE_COND_OFFLINE + 1] = {
 	[BLK_ZONE_COND_NOT_WP]		= "NOT_WP",
 	[BLK_ZONE_COND_EMPTY]		= "EMPTY",
-	[BLK_ZONE_COND_IMP_OPEN]	= "IMPLICITE_OPEN",
-	[BLK_ZONE_COND_EXP_OPEN]	= "EXPLICITE_OPEN",
+	[BLK_ZONE_COND_IMP_OPEN]	= "IMPLICIT_OPEN",
+	[BLK_ZONE_COND_EXP_OPEN]	= "EXPLICIT_OPEN",
 	[BLK_ZONE_COND_CLOSED]		= "CLOSED",
 	[BLK_ZONE_COND_READONLY]	= "READONLY",
 	[BLK_ZONE_COND_FULL]		= "FULL",
Signature · 1 line
2.39.2
#2 lore raw
Quoted 4 lines · Jaegeuk Kim

Hi Colin,

Thank you for the fix. If you don't mind, can I integrate this fix into the original patch?

Sure. No problem.

Colin

Quoted 29 lines

Thanks,

Quoted 25 lines · Colin Ian King

The array f2fs_zone_status contains two spelling mistakes in literal strings. Fix them.

---
  fs/f2fs/segment.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
fs/f2fs/segment.c +2 -2
index bdb27e4a604b..072c4355d3d3 100644
@@ -4921,8 +4921,8 @@ static int sanity_check_curseg(struct f2fs_sb_info *sbi)
  const char *f2fs_zone_status[BLK_ZONE_COND_OFFLINE + 1] = {
  	[BLK_ZONE_COND_NOT_WP]		= "NOT_WP",
  	[BLK_ZONE_COND_EMPTY]		= "EMPTY",
-	[BLK_ZONE_COND_IMP_OPEN]	= "IMPLICITE_OPEN",
-	[BLK_ZONE_COND_EXP_OPEN]	= "EXPLICITE_OPEN",
+	[BLK_ZONE_COND_IMP_OPEN]	= "IMPLICIT_OPEN",
+	[BLK_ZONE_COND_EXP_OPEN]	= "EXPLICIT_OPEN",
  	[BLK_ZONE_COND_CLOSED]		= "CLOSED",
  	[BLK_ZONE_COND_READONLY]	= "READONLY",
  	[BLK_ZONE_COND_FULL]		= "FULL",
Signature · 1 line
2.39.2
maintainer
#3 lore raw
Quoted 7 lines · Colin King (gmail)
Quoted 4 lines · Jaegeuk Kim

Hi Colin,

Thank you for the fix. If you don't mind, can I integrate this fix into the original patch?

Sure. No problem.

Thank you so much!

Quoted 31 lines

Colin

Quoted 29 lines

Thanks,

Quoted 25 lines · Colin Ian King

The array f2fs_zone_status contains two spelling mistakes in literal strings. Fix them.

---
  fs/f2fs/segment.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
fs/f2fs/segment.c +2 -2
index bdb27e4a604b..072c4355d3d3 100644
@@ -4921,8 +4921,8 @@ static int sanity_check_curseg(struct f2fs_sb_info *sbi)
  const char *f2fs_zone_status[BLK_ZONE_COND_OFFLINE + 1] = {
  	[BLK_ZONE_COND_NOT_WP]		= "NOT_WP",
  	[BLK_ZONE_COND_EMPTY]		= "EMPTY",
-	[BLK_ZONE_COND_IMP_OPEN]	= "IMPLICITE_OPEN",
-	[BLK_ZONE_COND_EXP_OPEN]	= "EXPLICITE_OPEN",
+	[BLK_ZONE_COND_IMP_OPEN]	= "IMPLICIT_OPEN",
+	[BLK_ZONE_COND_EXP_OPEN]	= "EXPLICIT_OPEN",
  	[BLK_ZONE_COND_CLOSED]		= "CLOSED",
  	[BLK_ZONE_COND_READONLY]	= "READONLY",
  	[BLK_ZONE_COND_FULL]		= "FULL",
Signature · 1 line
2.39.2