git: ips - Mark queue_lock as LK_CANRECURSE

YONETANI Tomokazu y0netan1 at crater.dragonflybsd.org
Sat Apr 17 20:11:32 PDT 2010


commit 845f5eade228bf80757b9727b34de489741b6391
Author: YONETANI Tomokazu <y0netan1 at dragonflybsd.org>
Date:   Sun Apr 18 11:59:11 2010 +0900

    ips - Mark queue_lock as LK_CANRECURSE
    
    Originally queue_lock was an LWKT reader-writer locks, which permitted
    multiple locks by the same thread, and in fact there are few code paths
    where such multiple locking is used.  Doing the similar thing with lockmgr
    lock without either LK_NOWAIT or LK_CANRECURSE triggers a panic.

Summary of changes:
 sys/dev/raid/ips/ips_pci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/845f5eade228bf80757b9727b34de489741b6391


-- 
DragonFly BSD source repository





More information about the Commits mailing list