aboutsummaryrefslogtreecommitdiff
path: root/ubifs-utils/libubifs/replay.c
diff options
context:
space:
mode:
Diffstat (limited to 'ubifs-utils/libubifs/replay.c')
-rw-r--r--ubifs-utils/libubifs/replay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ubifs-utils/libubifs/replay.c b/ubifs-utils/libubifs/replay.c
index b1d0164..30ed282 100644
--- a/ubifs-utils/libubifs/replay.c
+++ b/ubifs-utils/libubifs/replay.c
@@ -928,6 +928,7 @@ static int replay_log_leb(struct ubifs_info *c, int lnum, int offs, void *sbuf)
if (IS_ERR(sleb)) {
if (PTR_ERR(sleb) != -EUCLEAN || !c->need_recovery)
return PTR_ERR(sleb);
+ clear_failure_reason_callback(c);
/*
* Note, the below function will recover this log LEB only if
* it is the last, because unclean reboots can possibly corrupt