summaryrefslogtreecommitdiff
path: root/arch/cris
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2015-01-08 23:52:26 (GMT)
committerMike Snitzer <snitzer@redhat.com>2015-01-24 19:50:08 (GMT)
commit96b26c8c64c7a30488b8b404f7a63346df4c3bff (patch)
treed51619d0d63ab934cee6cda089531de56ed0e283 /arch/cris
parenta59db67656021fa212e9b95a583f13c34eb67cd9 (diff)
downloadlinux-96b26c8c64c7a30488b8b404f7a63346df4c3bff.tar.xz
dm: fix handling of multiple internal suspends
Commit ffcc393641 ("dm: enhance internal suspend and resume interface") attempted to handle multiple internal suspends on the same device, but it did that incorrectly. When these functions are called in this order on the same device the device is no longer suspended, but it should be: dm_internal_suspend_noflush dm_internal_suspend_noflush dm_internal_resume Fix this bug by maintaining an 'internal_suspend_count' and resuming the device when this count drops to zero. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'arch/cris')
0 files changed, 0 insertions, 0 deletions