dm cache: fix writethrough mode quiescing in cache_map
authorMike Snitzer <snitzer@redhat.com>
Thu, 1 May 2014 20:14:24 +0000 (16:14 -0400)
committerMike Snitzer <snitzer@redhat.com>
Thu, 1 May 2014 20:14:24 +0000 (16:14 -0400)
commit131cd131a9ff63d4b84f3fe15073a2984ac30066
treeda582a415cb1e354df407ba2d8b69ebb75b265d9
parentfbcde3d8b9c2d97704b8ca299e5266147b24c8ee
dm cache: fix writethrough mode quiescing in cache_map

Commit 2ee57d58735 ("dm cache: add passthrough mode") inadvertently
removed the deferred set reference that was taken in cache_map()'s
writethrough mode support.  Restore taking this reference.

This issue was found with code inspection.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Acked-by: Joe Thornber <ejt@redhat.com>
Cc: stable@vger.kernel.org # 3.13+
drivers/md/dm-cache-target.c