]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/md/dm-crypt.c
block: prep work for batch completion
[karo-tx-linux.git] / drivers / md / dm-crypt.c
index 6d2d41ae9e322dbd53e787e5294f2d55551296eb..ec0e3c0883b56355dd934c019db11b1c268ca7ab 100644 (file)
@@ -929,7 +929,8 @@ static void crypt_dec_pending(struct dm_crypt_io *io)
  * The work is done per CPU global for all dm-crypt instances.
  * They should not depend on each other and do not block.
  */
-static void crypt_endio(struct bio *clone, int error)
+static void crypt_endio(struct bio *clone, int error,
+                       struct batch_complete *batch)
 {
        struct dm_crypt_io *io = clone->bi_private;
        struct crypt_config *cc = io->cc;