Drop 'size' argument from bio_endio and bi_end_io
[deliverable/linux.git] / fs / ocfs2 / cluster / heartbeat.c
index 2bd7f788cf34a73f9ca59694f6f8103e943733e3..da2c2b442b4913e768812fa644dd78823979edee 100644 (file)
@@ -217,7 +217,6 @@ static void o2hb_wait_on_io(struct o2hb_region *reg,
 }
 
 static int o2hb_bio_end_io(struct bio *bio,
-                          unsigned int bytes_done,
                           int error)
 {
        struct o2hb_bio_wait_ctxt *wc = bio->bi_private;
@@ -227,9 +226,6 @@ static int o2hb_bio_end_io(struct bio *bio,
                wc->wc_error = error;
        }
 
-       if (bio->bi_size)
-               return 1;
-
        o2hb_bio_wait_dec(wc, 1);
        bio_put(bio);
        return 0;
This page took 0.026954 seconds and 5 git commands to generate.