X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fmd%2Fdm-zero.c;h=cdbf126ec10651f6632bfed0401598e3ced361d5;hb=1f6d6e8ebe73ba9d9d4c693f7f6f50f661dbd6e4;hp=ea569f7348d2a284b983d766614d1ff8d8fb82ac;hpb=f17a2686b11453680e9662ef8bdc8d948d0dce18;p=linux-2.6-omap-h63xx.git diff --git a/drivers/md/dm-zero.c b/drivers/md/dm-zero.c index ea569f7348d..cdbf126ec10 100644 --- a/drivers/md/dm-zero.c +++ b/drivers/md/dm-zero.c @@ -4,7 +4,7 @@ * This file is released under the GPL. */ -#include "dm.h" +#include #include #include @@ -43,10 +43,10 @@ static int zero_map(struct dm_target *ti, struct bio *bio, break; } - bio_endio(bio, bio->bi_size, 0); + bio_endio(bio, 0); /* accepted bio, don't make new request */ - return 0; + return DM_MAPIO_SUBMITTED; } static struct target_type zero_target = {