[dm-devel] [PATCH 2/7] dm: remove handling of DM_ENDIO_INCOMPLETE

Hannes Reinecke hare at suse.de
Thu Jun 5 13:11:02 UTC 2014


Never used, so no need to handle it.

Signed-off-by: Hannes Reinecke <hare at suse.de>
---
 drivers/md/dm.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/md/dm.c b/drivers/md/dm.c
index de88fac..0fa0884 100644
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
@@ -980,9 +980,6 @@ static void dm_done(struct request *clone, struct dm_rq_target_io *tio,
 	if (r <= 0)
 		/* The target wants to complete the I/O */
 		dm_end_request(clone, r);
-	else if (r == DM_ENDIO_INCOMPLETE)
-		/* The target will handle the I/O */
-		return;
 	else if (r == DM_ENDIO_REQUEUE)
 		/* The target wants to requeue the I/O */
 		dm_requeue_unmapped_request(clone);
-- 
1.7.12.4




More information about the dm-devel mailing list