From: Mikulas Patocka Date: Fri, 21 Dec 2012 20:23:32 +0000 (+0000) Subject: dm raid: use DM_ENDIO_INCOMPLETE X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=19cbbc60c680e2e404bf55458ad2c4ff60d16076;p=openwrt%2Fstaging%2Fblogic.git dm raid: use DM_ENDIO_INCOMPLETE Use a defined macro DM_ENDIO_INCOMPLETE instead of a numeric constant. Signed-off-by: Mikulas Patocka Signed-off-by: Alasdair G Kergon --- 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, mempool_free(read_record, ms->read_record_pool); map_context->ptr = NULL; queue_bio(ms, bio, rw); - return 1; + return DM_ENDIO_INCOMPLETE; } DMERR("All replicated volumes dead, failing I/O"); }