From 97e7cdf12ba324b599d404172c5899185ef2bbde Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Mon, 30 Jun 2014 13:26:30 -0400 Subject: [PATCH] dm io: simplify dec_count and sync_io Remove the io struct off the stack in sync_io() and allocate it from the mempool like is done in async_io(). dec_count() now always calls a callback function and always frees the io struct back to the mempool (so sync_io and async_io share this pattern). Signed-off-by: Joe Thornber Signed-off-by: Mike Snitzer --- Reading git-format-patch failed