diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2015-02-27 14:04:27 -0500 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2015-02-27 14:09:23 -0500 |
commit | ab7c7bb6f4ab95dbca96fcfc4463cd69843e3e24 (patch) | |
tree | 5ce6a44f6f2e4ba727bb138bfd85f3af7b137740 /drivers/md/dm-snap.c | |
parent | 5f027a3bf184d1d36e68745f7cd3718a8b879cc0 (diff) | |
download | linux-stable-ab7c7bb6f4ab95dbca96fcfc4463cd69843e3e24.tar.gz linux-stable-ab7c7bb6f4ab95dbca96fcfc4463cd69843e3e24.tar.bz2 linux-stable-ab7c7bb6f4ab95dbca96fcfc4463cd69843e3e24.zip |
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-snap.c')
0 files changed, 0 insertions, 0 deletions