diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2015-02-27 14:04:27 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-13 14:02:12 +0200 |
commit | 6b031cd888771b2d162a30b519eb111e6aebb476 (patch) | |
tree | 3a49f347cda83d74f1e4384355acc89e56aa47f3 /fs/hfsplus | |
parent | 5e695f0be9dd973e34148fa271fc941c8179ff08 (diff) | |
download | lwn-6b031cd888771b2d162a30b519eb111e6aebb476.tar.gz lwn-6b031cd888771b2d162a30b519eb111e6aebb476.zip |
dm: hold suspend_lock while suspending device during device deletion
commit ab7c7bb6f4ab95dbca96fcfc4463cd69843e3e24 upstream.
__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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/hfsplus')
0 files changed, 0 insertions, 0 deletions