DragonFly BSD
DragonFly commits List (threaded) for 2010-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - Fix two mismatched locks in CAM


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 30 Aug 2010 22:34:22 -0700 (PDT)

commit c70839f3755b5abb1d1fda941c11da4abc4c82fe
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Mon Aug 30 20:56:18 2010 -0700

    kernel - Fix two mismatched locks in CAM
    
    * cam_periph_alloc() failed to release a lock in one case and had an extra
      unlock in another.
    
    * passregister() had an extra unlock
    
    Reported-by: Rumko

Summary of changes:
 sys/bus/cam/cam_periph.c     |   12 +++++++-----
 sys/bus/cam/scsi/scsi_pass.c |    1 -
 2 files changed, 7 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c70839f3755b5abb1d1fda941c11da4abc4c82fe


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]