]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
block-prep-work-for-batch-completion-checkpatch merge fixes
authorKent Overstreet <koverstreet@google.com>
Tue, 26 Mar 2013 23:26:25 +0000 (10:26 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Apr 2013 06:26:40 +0000 (17:26 +1100)
Update some new bi_endio functions

Signed-off-by: Kent Overstreet <koverstreet@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/md/dm-cache-target.c
fs/btrfs/raid56.c

index 10744091e6cabb5f6bb55e59709eb4ba0350a98b..c5ce8a3b5505fcf111ed5dba5e031d7cfc24e27c 100644 (file)
@@ -652,7 +652,8 @@ static void defer_writethrough_bio(struct cache *cache, struct bio *bio)
        wake_worker(cache);
 }
 
-static void writethrough_endio(struct bio *bio, int err)
+static void writethrough_endio(struct bio *bio, int err,
+                              struct batch_complete *batch)
 {
        struct per_bio_data *pb = get_per_bio_data(bio, PB_DATA_SIZE_WT);
        bio->bi_end_io = pb->saved_bi_end_io;
index 9a79fb790adb9dc56a9ea5f49f39dfd67d14ea5f..6df1ac8d0adf4c8232b3d42c1414afc8d9f4cf27 100644 (file)
@@ -850,7 +850,8 @@ static void rbio_orig_end_io(struct btrfs_raid_bio *rbio, int err, int uptodate)
  * end io function used by finish_rmw.  When we finally
  * get here, we've written a full stripe
  */
-static void raid_write_end_io(struct bio *bio, int err)
+static void raid_write_end_io(struct bio *bio, int err,
+                             struct batch_complete *batch)
 {
        struct btrfs_raid_bio *rbio = bio->bi_private;
 
@@ -1384,7 +1385,8 @@ static void set_bio_pages_uptodate(struct bio *bio)
  * This will usually kick off finish_rmw once all the bios are read in, but it
  * may trigger parity reconstruction if we had any errors along the way
  */
-static void raid_rmw_end_io(struct bio *bio, int err)
+static void raid_rmw_end_io(struct bio *bio, int err,
+                           struct batch_complete *batch)
 {
        struct btrfs_raid_bio *rbio = bio->bi_private;
 
@@ -1905,7 +1907,8 @@ cleanup_io:
  * This is called only for stripes we've read from disk to
  * reconstruct the parity.
  */
-static void raid_recover_end_io(struct bio *bio, int err)
+static void raid_recover_end_io(struct bio *bio, int err,
+                               struct batch_complete *batch)
 {
        struct btrfs_raid_bio *rbio = bio->bi_private;