aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/md/dm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c
index 2edbcc2d7d3f..8298670757e9 100644
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
@@ -1523,7 +1523,7 @@ static void __split_and_process_bio(struct mapped_device *md,
1523 } 1523 }
1524 1524
1525 /* drop the extra reference count */ 1525 /* drop the extra reference count */
1526 dec_pending(ci.io, error); 1526 dec_pending(ci.io, errno_to_blk_status(error));
1527} 1527}
1528/*----------------------------------------------------------------- 1528/*-----------------------------------------------------------------
1529 * CRUD END 1529 * CRUD END