* [f2fs-dev] [PATCH] fsck.f2fs: recognize STOP_CP_REASON_CORRUPTED_FREE_BITMAP
@ 2025-04-22 11:57 Chao Yu via Linux-f2fs-devel
0 siblings, 0 replies; only message in thread
From: Chao Yu via Linux-f2fs-devel @ 2025-04-22 11:57 UTC (permalink / raw)
To: jaegeuk; +Cc: linux-f2fs-devel
Let fsck.f2fs recognize STOP_CP_REASON_CORRUPTED_FREE_BITMAP.
Signed-off-by: Chao Yu <chao@kernel.org>
---
fsck/mount.c | 1 +
include/f2fs_fs.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/fsck/mount.c b/fsck/mount.c
index 4fd26a6..08b2687 100644
--- a/fsck/mount.c
+++ b/fsck/mount.c
@@ -729,6 +729,7 @@ static char *stop_reason_str[] = {
[STOP_CP_REASON_UPDATE_INODE] = "update_inode",
[STOP_CP_REASON_FLUSH_FAIL] = "flush_fail",
[STOP_CP_REASON_NO_SEGMENT] = "no_segment",
+ [STOP_CP_REASON_CORRUPTED_FREE_BITMAP] = "corrupted_free_bitmap",
};
void print_sb_stop_reason(struct f2fs_super_block *sb)
diff --git a/include/f2fs_fs.h b/include/f2fs_fs.h
index 12b08fb..0537dcb 100644
--- a/include/f2fs_fs.h
+++ b/include/f2fs_fs.h
@@ -739,6 +739,7 @@ enum stop_cp_reason {
STOP_CP_REASON_UPDATE_INODE,
STOP_CP_REASON_FLUSH_FAIL,
STOP_CP_REASON_NO_SEGMENT,
+ STOP_CP_REASON_CORRUPTED_FREE_BITMAP,
STOP_CP_REASON_MAX,
};
--
2.49.0
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2025-04-22 11:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-22 11:57 [f2fs-dev] [PATCH] fsck.f2fs: recognize STOP_CP_REASON_CORRUPTED_FREE_BITMAP Chao Yu via Linux-f2fs-devel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).