diff options
author | shengyong <shengyong1@huawei.com> | 2015-09-23 11:11:39 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2015-10-03 20:40:21 +0200 |
commit | 8f6983abe31f37d953197c3ede14b1d1321affee (patch) | |
tree | 8842fa91979790d7688c88cfeb10b0d7fe7a53f4 /fs/ubifs/recovery.c | |
parent | UBI: drop null test before destroy functions (diff) | |
download | linux-8f6983abe31f37d953197c3ede14b1d1321affee.tar.xz linux-8f6983abe31f37d953197c3ede14b1d1321affee.zip |
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>
Diffstat (limited to 'fs/ubifs/recovery.c')
0 files changed, 0 insertions, 0 deletions