Commit ab7c7bb
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.org1 parent 5f027a3 commit ab7c7bb
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2638 | 2638 | | |
2639 | 2639 | | |
2640 | 2640 | | |
| 2641 | + | |
| 2642 | + | |
| 2643 | + | |
| 2644 | + | |
| 2645 | + | |
2641 | 2646 | | |
2642 | 2647 | | |
2643 | 2648 | | |
2644 | 2649 | | |
| 2650 | + | |
2645 | 2651 | | |
2646 | 2652 | | |
2647 | 2653 | | |
| |||
0 commit comments