Minfei Huang
8dc23658b7
dm: return correct error code in dm_resume()'s retry loop
...
dm_resume() will return success (0) rather than -EINVAL if
!dm_suspended_md() upon retry within dm_resume().
Reset the error code at the start of dm_resume()'s retry loop.
Also, remove a useless assignment at the end of dm_resume().
Fixes: ffcc393641 ("dm: enhance internal suspend and resume interface")
Cc: stable@vger.kernel.org # 3.19+
Signed-off-by: Minfei Huang <mnghuan@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
2016-09-14 13:56:38 -04:00
..
2016-08-18 20:31:03 -07:00
2016-07-20 12:43:34 -04:00
2016-06-07 13:41:38 -06:00
2016-05-04 12:39:35 -07:00
2015-07-29 08:55:15 -06:00
2015-05-29 14:19:06 -04:00
2016-06-07 13:41:38 -06:00
2016-06-10 15:15:44 -04:00
2016-04-17 11:24:46 -04:00
2016-03-10 17:12:12 -05:00
2015-11-04 21:19:53 -08:00
2015-06-11 17:13:01 -04:00
2016-03-10 17:12:11 -05:00
2015-06-11 17:13:01 -04:00
2016-08-07 14:41:02 -06:00
2016-06-10 15:15:44 -04:00
2016-09-14 08:48:27 -06:00
2016-02-22 22:34:37 -05:00
2016-08-07 14:41:02 -06:00
2015-11-04 21:19:53 -08:00
2016-01-08 20:03:05 -05:00
2016-08-24 21:55:05 -04:00
2016-08-07 14:41:02 -06:00
2016-07-20 23:49:52 -04:00
2016-06-10 15:15:44 -04:00
2016-07-28 17:38:16 -07:00
2015-10-31 19:06:00 -04:00
2016-08-07 14:41:02 -06:00
2016-08-24 21:55:05 -04:00
2016-08-07 14:41:02 -06:00
2016-02-22 22:34:42 -05:00
2016-02-22 22:34:42 -05:00
2016-08-07 14:41:02 -06:00
2016-08-17 10:42:39 -04:00
2016-08-07 14:41:02 -06:00
2016-08-15 09:23:14 -04:00
2016-08-02 16:21:36 -04:00
2016-06-10 15:16:02 -04:00
2016-02-22 22:34:42 -05:00
2016-06-07 13:41:38 -06:00
2016-01-08 20:03:05 -05:00
2016-08-07 14:41:02 -06:00
2016-06-10 15:15:44 -04:00
2015-06-17 12:40:40 -04:00
2016-08-07 14:41:02 -06:00
2015-10-31 19:06:06 -04:00
2016-06-10 15:15:44 -04:00
2016-07-20 23:49:50 -04:00
2016-07-28 17:38:16 -07:00
2016-07-20 12:43:35 -04:00
2016-07-20 12:43:35 -04:00
2016-08-07 14:41:02 -06:00
2016-07-01 23:29:08 -04:00
2015-12-10 10:39:03 -05:00
2016-02-22 22:34:37 -05:00
2015-12-10 10:39:03 -05:00
2016-08-07 14:41:02 -06:00
2016-09-14 13:56:38 -04:00
2016-07-20 23:49:49 -04:00
2016-01-20 13:52:20 -08:00
2016-03-10 17:12:11 -05:00
2016-08-07 14:41:02 -06:00
2016-06-10 15:15:44 -04:00
2016-05-09 09:24:04 -07:00
2016-05-09 09:24:03 -07:00
2016-08-07 14:41:02 -06:00
2016-07-28 09:34:14 -07:00
2016-08-07 14:41:02 -06:00
2016-08-07 14:41:02 -06:00
2015-08-13 12:31:57 -06:00
2016-08-07 14:41:02 -06:00
2015-10-12 01:32:05 -05:00
2016-08-07 14:41:02 -06:00
2016-08-07 14:41:02 -06:00
2016-02-26 09:44:56 -08:00
2016-08-07 14:41:02 -06:00
2016-07-19 15:20:28 -07:00