git: kernel - Fix two mismatched locks in CAM

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Aug 30 22:35:14 PDT 2010


commit c70839f3755b5abb1d1fda941c11da4abc4c82fe
Author: Matthew Dillon <dillon at 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





More information about the Commits mailing list