diff options
author | 2016-09-06 16:00:29 +0800 | |
---|---|---|
committer | 2016-09-14 13:56:38 -0400 | |
commit | 8dc23658b7aaa8b6b0609c81c8ad75e98b612801 (patch) | |
tree | fa802482524c9470f181cbc1d63e6a4c4bc28daf /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | blk-mq: introduce blk_mq_delay_kick_requeue_list() (diff) | |
download | linux-dev-8dc23658b7aaa8b6b0609c81c8ad75e98b612801.tar.xz linux-dev-8dc23658b7aaa8b6b0609c81c8ad75e98b612801.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions