diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2015-02-27 22:04:27 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2015-02-27 22:09:23 +0300 |
commit | ab7c7bb6f4ab95dbca96fcfc4463cd69843e3e24 (patch) | |
tree | 5ce6a44f6f2e4ba727bb138bfd85f3af7b137740 /drivers/md/dm-cache-policy-cleaner.c | |
parent | 5f027a3bf184d1d36e68745f7cd3718a8b879cc0 (diff) | |
download | linux-ab7c7bb6f4ab95dbca96fcfc4463cd69843e3e24.tar.xz |
dm: hold suspend_lock while suspending device during device deletion
__dm_destroy() must take the suspend_lock so that its presuspend and
postsuspend calls do not race with an internal suspend.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/md/dm-cache-policy-cleaner.c')
0 files changed, 0 insertions, 0 deletions