dm cache: move wake_waker() from free_migrations() to where it is needed
authorJoe Thornber <ejt@redhat.com>
Thu, 30 Jul 2015 08:29:40 +0000 (09:29 +0100)
committerMike Snitzer <snitzer@redhat.com>
Wed, 12 Aug 2015 15:32:20 +0000 (11:32 -0400)
commite44b6a5a3c711c1ada4cf7135bf9dbf860caffd2
treedcd60dc8ed4d022ea3fc7b1829010d4203098c41
parent8c747fd0c3f514233afaca98139c03cca2cf2d2f
dm cache: move wake_waker() from free_migrations() to where it is needed

This stops spurious wake ups from calls to prealloc_free_structs().

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-cache-target.c