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:
Sahitya Tummala <stummala@codeaurora.org>
Loading
Please register or sign in to comment