Skip to content

Commit 19cbbc6

Browse files
Mikulas Patockakergon
authored andcommitted
dm raid: use DM_ENDIO_INCOMPLETE
Use a defined macro DM_ENDIO_INCOMPLETE instead of a numeric constant. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
1 parent 7c27213 commit 19cbbc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/md/dm-raid1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1257,7 +1257,7 @@ static int mirror_end_io(struct dm_target *ti, struct bio *bio,
12571257
mempool_free(read_record, ms->read_record_pool);
12581258
map_context->ptr = NULL;
12591259
queue_bio(ms, bio, rw);
1260-
return 1;
1260+
return DM_ENDIO_INCOMPLETE;
12611261
}
12621262
DMERR("All replicated volumes dead, failing I/O");
12631263
}

0 commit comments

Comments
 (0)