Use a defined macro DM_ENDIO_INCOMPLETE instead of a numeric constant.
Unified · Split
| @@ -1257,7 +1257,7 @@ static int mirror_end_io(struct dm_target *ti, struct bio *bio, · 1256 unmodified lines | |||
| 1257 | mempool_free(read_record, ms->read_record_pool); | 1257 | mempool_free(read_record, ms->read_record_pool); |
| 1258 | map_context->ptr = NULL; | 1258 | map_context->ptr = NULL; |
| 1259 | queue_bio(ms, bio, rw); | 1259 | queue_bio(ms, bio, rw); |
| 1260 | return 1; | 1260 | return DM_ENDIO_INCOMPLETE; |
| 1261 | } | 1261 | } |
| 1262 | DMERR("All replicated volumes dead, failing I/O"); | 1262 | DMERR("All replicated volumes dead, failing I/O"); |
| 1263 | } | 1263 | } |