Drop 'size' argument from bio_endio and bi_end_io
[linux-2.6-block.git] / fs / xfs / linux-2.6 / xfs_buf.c
index b0f0e58866de6059bcd4b0bc454e886ddde03cbc..6a75f4d984a1a7ada4efc6148b8b02036f9d4e90 100644 (file)
@@ -1106,16 +1106,12 @@ _xfs_buf_ioend(
 STATIC int
 xfs_buf_bio_end_io(
        struct bio              *bio,
-       unsigned int            bytes_done,
        int                     error)
 {
        xfs_buf_t               *bp = (xfs_buf_t *)bio->bi_private;
        unsigned int            blocksize = bp->b_target->bt_bsize;
        struct bio_vec          *bvec = bio->bi_io_vec + bio->bi_vcnt - 1;
 
-       if (bio->bi_size)
-               return 1;
-
        if (!test_bit(BIO_UPTODATE, &bio->bi_flags))
                bp->b_error = EIO;