aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-raid1.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/dm-raid1.c')
-rw-r--r--drivers/md/dm-raid1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-raid1.c b/drivers/md/dm-raid1.c
index 84f2ed6d9c5b..6ae42f1d76ae 100644
--- a/drivers/md/dm-raid1.c
+++ b/drivers/md/dm-raid1.c
@@ -602,7 +602,7 @@ static void recovery_complete(int read_err, unsigned int write_err,
602 struct region *reg = (struct region *) context; 602 struct region *reg = (struct region *) context;
603 603
604 /* FIXME: better error handling */ 604 /* FIXME: better error handling */
605 rh_recovery_end(reg, read_err || write_err); 605 rh_recovery_end(reg, !(read_err || write_err));
606} 606}
607 607
608static int recover(struct mirror_set *ms, struct region *reg) 608static int recover(struct mirror_set *ms, struct region *reg)