git: mpt(4): Properly lock mpt_timeout().

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Aug 31 09:26:44 PDT 2011


commit 2be58998960aaaebcfb7e65fea5bb3d4e9df904f
Author: Sascha Wildner <saw at online.de>
Date:   Wed Aug 31 18:24:44 2011 +0200

    mpt(4): Properly lock mpt_timeout().
    
    I had removed it with an assertion (like in FreeBSD) as part of the
    last sync I did, but I had overlooked that FreeBSD initializes their
    callout with callout_init_mtx().
    
    For now, just put back locking like it was.
    
    Reported-by:   G.Isenmann
    Dragonfly-bug: <http://bugs.dragonflybsd.org/issue2127>

Summary of changes:
 sys/dev/disk/mpt/mpt_cam.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2be58998960aaaebcfb7e65fea5bb3d4e9df904f


-- 
DragonFly BSD source repository





More information about the Commits mailing list