]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/md/dm-zero.c
Merge branch 'for-linus' of git://git.o-hand.com/linux-rpurdie-backlight
[linux-2.6-omap-h63xx.git] / drivers / md / dm-zero.c
index f314d7dc9c26cae52123b38c6422e375aba600c3..cdbf126ec10651f6632bfed0401598e3ced361d5 100644 (file)
@@ -4,7 +4,7 @@
  * This file is released under the GPL.
  */
 
-#include "dm.h"
+#include <linux/device-mapper.h>
 
 #include <linux/module.h>
 #include <linux/init.h>
@@ -43,7 +43,7 @@ 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 DM_MAPIO_SUBMITTED;