]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jun 2014 17:28:12 +0000 (10:28 -0700)
commitf9556c35b5b7ce5b50a0490c2b93c88af92df648
tree13acf5d2b94b7c3e944b025d165c06893341017e
parentc80498a9f6b91d35bc6b6dfd185886d8d4346d43
dm cache: fix writethrough mode quiescing in cache_map

commit 131cd131a9ff63d4b84f3fe15073a2984ac30066 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/md/dm-cache-target.c