summaryrefslogtreecommitdiffstats
path: root/fs/ubifs/recovery.c
diff options
context:
space:
mode:
authorshengyong <shengyong1@huawei.com>2015-09-23 11:11:39 +0200
committerRichard Weinberger <richard@nod.at>2015-10-03 20:40:21 +0200
commit8f6983abe31f37d953197c3ede14b1d1321affee (patch)
tree8842fa91979790d7688c88cfeb10b0d7fe7a53f4 /fs/ubifs/recovery.c
parentUBI: drop null test before destroy functions (diff)
downloadlinux-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