From 28ba5aaec4a0b118214d2f075456f288f0b67648 Mon Sep 17 00:00:00 2001 From: Mike Snitzer Date: Fri, 28 Mar 2014 02:15:02 -0400 Subject: [PATCH] dm thin: fix dangling bio in process_deferred_bios error path commit fe76cd88e654124d1431bb662a0fc6e99ca811a5 upstream. If unable to ensure_next_mapping() we must add the current bio, which was removed from the @bios list via bio_list_pop, back to the deferred_bios list before all the remaining @bios. Signed-off-by: Mike Snitzer Acked-by: Joe Thornber Signed-off-by: Ben Hutchings --- Reading git-format-patch failed