]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/md/dm.h
dm: always defer request allocation to the owner of the request_queue
[mirror_ubuntu-artful-kernel.git] / drivers / md / dm.h
index f0aad08b96544fe11bcb8724cd7167863bc76a82..f298b01f7ab305dd5665875c0119edbd18f93113 100644 (file)
@@ -95,8 +95,7 @@ int dm_setup_md_queue(struct mapped_device *md, struct dm_table *t);
 /*
  * To check whether the target type is request-based or not (bio-based).
  */
-#define dm_target_request_based(t) (((t)->type->map_rq != NULL) || \
-                                   ((t)->type->clone_and_map_rq != NULL))
+#define dm_target_request_based(t) ((t)->type->clone_and_map_rq != NULL)
 
 /*
  * To check whether the target type is a hybrid (capable of being