From 9c64f4f46f9be896c4f84a2622ee5ba1ff4e38cb Mon Sep 17 00:00:00 2001 From: Yu Changchun Date: Sun, 9 Jan 2022 16:15:44 +0800 Subject: [PATCH] rk3568_patch: ubifs_check_node adaptation fix the conflicts since linux 5.10 is pushing some ubifs bugfix Signed-off-by: Yu Changchun --- linux-5.10/rk3568_patch/kernel.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-5.10/rk3568_patch/kernel.patch b/linux-5.10/rk3568_patch/kernel.patch index 7c412c2..8cce36c 100644 --- a/linux-5.10/rk3568_patch/kernel.patch +++ b/linux-5.10/rk3568_patch/kernel.patch @@ -1180503,7 +1180503,7 @@ index f116f7b3f9e5..4061fd58602f 100644 + } else if (ret == SCANNED_A_CORRUPT_NODE) { + dbg_rcvry("found corruption (%d) at %d:%d", + ret, lnum, offs); -+ if (ubifs_check_node(c, buf, lnum, offs, 1, 1) == -EUCLEAN && ++ if (ubifs_check_node(c, buf, len, lnum, offs, 1, 1) == -EUCLEAN && + !no_more_nodes(c, buf, len, lnum, offs)) { + int skip; + struct ubifs_ch *ch = buf; -- Gitee