git: arcmsr: Make callout locking more robust
Francois Tigeot
ftigeot at crater.dragonflybsd.org
Tue Jan 6 00:29:35 PST 2015
commit 1f8729873af0e41be59daeb7c748eb2b4fcd7d13
Author: François Tigeot <ftigeot at wolfpond.org>
Date: Mon Jan 5 23:29:35 2015 +0100
arcmsr: Make callout locking more robust
* The callout subsystem can deadlock if a callout function is holding
a lock at the same time callout_stop() is called
* Use the new callout_init_lk() function from DragonFly 4.1
to prevent this situation from occuring
Reviewed-by: swildner
Summary of changes:
sys/dev/raid/arcmsr/arcmsr.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1f8729873af0e41be59daeb7c748eb2b4fcd7d13
--
DragonFly BSD source repository
More information about the Commits
mailing list