summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2013-04-26 10:58:45 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2013-04-26 17:33:08 +1000
commitb7462b8b5d5bf1794770e4a414b95bd699f08b20 (patch)
tree38c916e8a65582d239ef8231819990d807977b8b
parent3b1afd66a07319f60f4ddaf2b2d3d133038498a5 (diff)
block-prep-work-for-batch-completion-fix-99
Cc: Kent Overstreet <koverstreet@google.com> Reported-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r--drivers/md/bcache/debug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/bcache/debug.c b/drivers/md/bcache/debug.c
index 89fd5204924e..3a32b063040b 100644
--- a/drivers/md/bcache/debug.c
+++ b/drivers/md/bcache/debug.c
@@ -177,7 +177,8 @@ void bch_btree_verify(struct btree *b, struct bset *new)
mutex_unlock(&b->c->verify_lock);
}
-static void data_verify_endio(struct bio *bio, int error)
+static void data_verify_endio(struct bio *bio, int error,
+ struct batch_complete *batch)
{
struct closure *cl = bio->bi_private;
closure_put(cl);