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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Never used, so no need to handle it.

Signed-off-by: Hannes Reinecke <hare@xxxxxxx>
---
 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

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel




[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux