projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
0c0fa2f
)
mpt(4): Fix a panic in RAID operation.
author
Sascha Wildner <saw@online.de>
Sun, 18 Nov 2012 19:46:15 +0000 (20:46 +0100)
committer
Sascha Wildner <saw@online.de>
Sun, 18 Nov 2012 19:46:15 +0000 (20:46 +0100)
I ported it wrongly. FreeBSD uses callout_init_mtx() here.
sys/dev/disk/mpt/mpt_raid.c
patch
|
blob
|
blame
|
history
diff --git
a/sys/dev/disk/mpt/mpt_raid.c
b/sys/dev/disk/mpt/mpt_raid.c
index
3103260
..
4c4b157
100644
(file)
--- a/
sys/dev/disk/mpt/mpt_raid.c
+++ b/
sys/dev/disk/mpt/mpt_raid.c
@@
-1592,8
+1592,9
@@
mpt_raid_timer(void *arg)
struct mpt_softc *mpt;
mpt = (struct mpt_softc *)arg;
- MPT_LOCK_ASSERT(mpt);
+ MPT_LOCK(mpt);
mpt_raid_wakeup(mpt);
+ MPT_UNLOCK(mpt);
}
static void