Joe Thornber
cc7da0ba9c
dm cache: fix use after freeing migrations
...
Both free_io_migration() and issue_discard() dereference a migration
that was just freed. Fix those by saving off the migrations's cache
object before freeing the migration. Also cleanup needless mg->cache
dereferences now that the cache object is available directly.
Fixes: e44b6a5a3c ("dm cache: move wake_waker() from free_migrations() to where it is needed")
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
2015-09-01 08:56:14 -04:00
..
2015-07-11 09:57:32 -06:00
2015-08-12 11:32:21 -04:00
2015-07-25 11:24:58 -07:00
2015-04-22 07:59:39 +10:00
2015-05-29 14:19:06 -04:00
2015-05-29 14:19:06 -04:00
2013-11-23 22:33:55 -08:00
2015-02-09 13:06:48 -05:00
2014-01-14 23:23:03 -05:00
2014-01-14 23:23:04 -05:00
2014-11-10 15:25:30 -05:00
2015-06-11 17:13:00 -04:00
2015-06-11 17:13:00 -04:00
2015-05-29 14:19:04 -04:00
2015-06-11 17:13:01 -04:00
2015-08-12 11:27:29 -04:00
2015-08-12 11:32:19 -04:00
2014-01-16 13:44:11 -05:00
2015-06-11 17:13:01 -04:00
2015-09-01 08:56:14 -04:00
2015-08-12 11:32:21 -04:00
2015-08-12 11:32:21 -04:00
2014-06-03 13:44:08 -04:00
2012-07-27 15:07:59 +01:00
2015-08-12 11:32:21 -04:00
2015-02-27 14:53:32 -05:00
2015-04-30 10:25:21 -04:00
2013-08-23 09:02:13 -04:00
2015-08-12 11:32:21 -04:00
2015-04-15 12:10:20 -04:00
2015-04-15 12:10:20 -04:00
2015-08-12 11:32:21 -04:00
2012-07-30 17:25:16 -07:00
2015-05-27 17:37:22 -04:00
2015-08-12 11:32:21 -04:00
2015-05-29 14:19:00 -04:00
2013-11-23 22:33:47 -08:00
2015-08-12 11:32:21 -04:00
2015-08-12 16:22:55 -04:00
2015-08-18 17:20:03 -04:00
2015-06-17 12:40:40 -04:00
2015-08-12 11:32:21 -04:00
2014-08-01 12:30:37 -04:00
2015-04-15 12:10:17 -04:00
2015-06-26 10:11:58 -04:00
2015-02-09 13:06:47 -05:00
2015-08-12 10:42:51 -04:00
2015-06-11 17:13:04 -04:00
2015-08-18 11:36:11 -04:00
2015-08-12 11:32:21 -04:00
2014-07-10 16:44:14 -04:00
2015-08-12 11:32:20 -04:00
2015-06-26 12:35:01 -07:00
2015-02-04 08:35:52 +11:00
2015-07-27 07:58:16 -04:00
2015-02-04 08:35:52 +11:00
2015-06-11 17:12:59 -04:00
2015-07-24 13:37:59 +10:00
2015-07-24 13:37:59 +10:00
2015-08-03 14:56:02 +10:00
2015-06-02 08:33:34 -06:00
2015-02-04 08:35:52 +11:00
2015-05-21 09:14:25 +10:00
2015-08-03 12:29:42 +10:00
2015-02-04 08:35:52 +11:00
2015-08-03 17:10:56 +10:00
2015-07-22 14:04:15 +10:00
2015-07-22 14:08:24 +10:00
2015-02-04 08:35:52 +11:00