Drop 'size' argument from bio_endio and bi_end_io
[linux-2.6-block.git] / drivers / block / cpqarray.c
index eb9799acf65b8a202606b9e8686a66360a4e9840..3853c9a38d6a1dd4457ccb445b804546f07a609a 100644 (file)
@@ -987,7 +987,7 @@ static inline void complete_buffers(struct bio *bio, int ok)
                xbh = bio->bi_next;
                bio->bi_next = NULL;
                
-               bio_endio(bio, nr_sectors << 9, ok ? 0 : -EIO);
+               bio_endio(bio, ok ? 0 : -EIO);
 
                bio = xbh;
        }