diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2012-12-21 15:23:32 -0500 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2012-12-21 15:23:32 -0500 |
commit | 19cbbc60c680e2e404bf55458ad2c4ff60d16076 (patch) | |
tree | ad95b111e977da491f5f777873a8c7bf79c60c4e /drivers | |
parent | 7c27213b20f060111d5b6fa14bcdbab6588ae351 (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/md/dm-raid1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-raid1.c b/drivers/md/dm-raid1.c index b37467618b16..cec5f9b3a278 100644 --- a/drivers/md/dm-raid1.c +++ b/drivers/md/dm-raid1.c | |||
@@ -1257,7 +1257,7 @@ static int mirror_end_io(struct dm_target *ti, struct bio *bio, | |||
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 | } |