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

Skip to content
Commit 54297cd0 authored by Sahitya Tummala's avatar Sahitya Tummala
Browse files

f2fs: relax the f2fs_bug_on() condition in do_checkpoint()



With CONFIG_F2FS_CHECK_FS enabled, this condition in
do_checkpoint() is triggering a panic.

f2fs_bug_on(sbi, get_pages(sbi, F2FS_DIRTY_META) &&
				!f2fs_cp_error(sbi));

Relax this condition to a warning as a temporary workaround,
which is same as what will be used in production builds,
where CONFIG_F2FS_CHECK_FS will not be enabled by default.

Change-Id: Idddc10be00d4d8fc6c4bc5989053563b12f9d451
Signed-off-by: default avatarSahitya Tummala <stummala@codeaurora.org>
parent f8b00cea
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