]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/md/bcache/journal.c
block-prep-work-for-batch-completion-fix-3
[karo-tx-linux.git] / drivers / md / bcache / journal.c
index 8c8dfdcd9d4cc9bc4a3d0799b98401855b280bcc..bff194bb3e08ebfd27f73a360b533de278c19aed 100644 (file)
@@ -22,7 +22,8 @@
  * bit.
  */
 
-static void journal_read_endio(struct bio *bio, int error)
+static void journal_read_endio(struct bio *bio, int error,
+                              struct batch_complete *batch)
 {
        struct closure *cl = bio->bi_private;
        closure_put(cl);
@@ -390,7 +391,8 @@ found:
 
 #define last_seq(j)    ((j)->seq - fifo_used(&(j)->pin) + 1)
 
-static void journal_discard_endio(struct bio *bio, int error)
+static void journal_discard_endio(struct bio *bio, int error,
+                                 struct batch_complete *batch)
 {
        struct journal_device *ja =
                container_of(bio, struct journal_device, discard_bio);
@@ -535,7 +537,8 @@ void bch_journal_next(struct journal *j)
                pr_debug("journal_pin full (%zu)", fifo_used(&j->pin));
 }
 
-static void journal_write_endio(struct bio *bio, int error)
+static void journal_write_endio(struct bio *bio, int error,
+                               struct batch_complete *batch)
 {
        struct journal_write *w = bio->bi_private;