Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0d822c9d authored by Jin Qian's avatar Jin Qian Committed by alexax66
Browse files

BACKPORT: f2fs: sanity check checkpoint segno and blkoff

Make sure segno and blkoff read from raw image are valid.

Fixed conflicts due to missing commit 1e968fdfe69e
("f2fs: introduce f2fs_cp_error for readability") and commit 6bacf52fb58a
("f2fs: add unlikely() macro for compiler more aggressively").

(url https://sourceforge.net/p/linux-f2fs/mailman/message/35835945

)

Signed-off-by: default avatarJin Qian <jinqian@google.com>
Signed-off-by: default avatarSiqi Lin <siqilin@google.com>
Bug: 36588520
parent d8e46111
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment