mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[PATCH] dm-raid locking fix
This code was never designed to handle more than one instance of do_work() running at once. Signed-Off-By: Alasdair G Kergon <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
d27a4dddd9
commit
48f1f53282
1 changed files with 1 additions and 1 deletions
|
|
@ -1230,7 +1230,7 @@ static int __init dm_mirror_init(void)
|
|||
if (r)
|
||||
return r;
|
||||
|
||||
_kmirrord_wq = create_workqueue("kmirrord");
|
||||
_kmirrord_wq = create_singlethread_workqueue("kmirrord");
|
||||
if (!_kmirrord_wq) {
|
||||
DMERR("couldn't start kmirrord");
|
||||
dm_dirty_log_exit();
|
||||
|
|
|
|||
Loading…
Reference in a new issue