projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d27a4dd
)
[PATCH] dm-raid locking fix
author
Alasdair G Kergon
<agk@redhat.com>
Thu, 4 Aug 2005 19:53:37 +0000
(12:53 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 4 Aug 2005 20:00:55 +0000
(13:00 -0700)
This code was never designed to handle more than one instance of do_work()
running at once.
Signed-Off-By: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/dm-raid1.c
patch
|
blob
|
history
diff --git
a/drivers/md/dm-raid1.c
b/drivers/md/dm-raid1.c
index 12031c9d3f1e1394379ee211ae49bf61ff093949..b08df8b9b2cad8994a8d5c739c3943f1548cc17d 100644
(file)
--- a/
drivers/md/dm-raid1.c
+++ b/
drivers/md/dm-raid1.c
@@
-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();