10 Star 0 Fork 17

src-anolis-os/e2fsprogs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
1007-e2fsck-sync-fc_do_one_pass-changes-from-kernel.patch 1.33 KB
一键复制 编辑 原始数据 按行查看 历史
josephhz 提交于 2024-11-13 11:53 . enable metadata_csum by default
From 7a72980c0f343a72a631e161d79f7fca785dc9c2 Mon Sep 17 00:00:00 2001
From: Eric Biggers <[email protected]>
Date: Tue, 15 Jun 2021 21:53:30 -0700
Subject: [PATCH 7/8] e2fsck: sync fc_do_one_pass() changes from kernel
Sync the changes to fc_do_one_pass() from the kernel's recovery.c so
that e2fsck picks up the fixes to the jbd_debug() statements.
Signed-off-by: Eric Biggers <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>
Signed-off-by: Joseph Qi <[email protected]>
---
e2fsck/recovery.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/e2fsck/recovery.c b/e2fsck/recovery.c
index 02694d2c..25744f08 100644
--- a/e2fsck/recovery.c
+++ b/e2fsck/recovery.c
@@ -245,15 +245,14 @@ static int fc_do_one_pass(journal_t *journal,
return 0;
while (next_fc_block <= journal->j_fc_last) {
- jbd_debug(3, "Fast commit replay: next block %ld",
+ jbd_debug(3, "Fast commit replay: next block %ld\n",
next_fc_block);
err = jread(&bh, journal, next_fc_block);
if (err) {
- jbd_debug(3, "Fast commit replay: read error");
+ jbd_debug(3, "Fast commit replay: read error\n");
break;
}
- jbd_debug(3, "Processing fast commit blk with seq %d");
err = journal->j_fc_replay_callback(journal, bh, pass,
next_fc_block - journal->j_fc_first,
expected_commit_id);
--
2.39.3
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-anolis-os/e2fsprogs.git
[email protected]:src-anolis-os/e2fsprogs.git
src-anolis-os
e2fsprogs
e2fsprogs
a8

搜索帮助