Commit 8f6983ab authored by shengyong's avatar shengyong Committed by Richard Weinberger
Browse files

UBIFS: call dbg_is_power_cut() instead of reading c->dbg->pc_happened



Call dbg_is_power_cut() to emulate power cut instead of reading
c->dbg->pc_happened. Otherwise, the function becomes dead code.

Signed-off-by: default avatarSheng Yong <shengyong1@huawei.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent f9a113d6
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment