aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/dm.c')
-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 097d1e540090..8c16359f8b01 100644
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
@@ -293,7 +293,7 @@ struct dm_table *dm_get_table(struct mapped_device *md)
293 * Decrements the number of outstanding ios that a bio has been 293 * Decrements the number of outstanding ios that a bio has been
294 * cloned into, completing the original io if necc. 294 * cloned into, completing the original io if necc.
295 */ 295 */
296static inline void dec_pending(struct dm_io *io, int error) 296static void dec_pending(struct dm_io *io, int error)
297{ 297{
298 if (error) 298 if (error)
299 io->error = error; 299 io->error = error;