]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/linux/device-mapper.h
block: switch bios to blk_status_t
[mirror_ubuntu-artful-kernel.git] / include / linux / device-mapper.h
index 5de5c53251ece71a09b4b5b4ce2113ce1c02cebf..456da5017b32b57248c7f1ebb2f167d38434b27e 100644 (file)
@@ -72,7 +72,7 @@ typedef void (*dm_release_clone_request_fn) (struct request *clone);
  * 2   : The target wants to push back the io
  */
 typedef int (*dm_endio_fn) (struct dm_target *ti,
-                           struct bio *bio, int *error);
+                           struct bio *bio, blk_status_t *error);
 typedef int (*dm_request_endio_fn) (struct dm_target *ti,
                                    struct request *clone, blk_status_t error,
                                    union map_info *map_context);