commit | 8f6983abe31f37d953197c3ede14b1d1321affee | [log] [tgz] |
---|---|---|
author | shengyong <shengyong1@huawei.com> | Wed Sep 23 09:11:39 2015 +0000 |
committer | Richard Weinberger <richard@nod.at> | Sat Oct 03 20:40:21 2015 +0200 |
tree | 8842fa91979790d7688c88cfeb10b0d7fe7a53f4 | |
parent | f9a113d65fa56d8e8e662e37ec2fbeac0d52aa01 [diff] |
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: Sheng Yong <shengyong1@huawei.com> Signed-off-by: Richard Weinberger <richard@nod.at>