]> err.no Git - linux-2.6/commit
SCSI: use the proper semaphore to protect the class lists
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 9 Apr 2007 15:52:31 +0000 (11:52 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Apr 2007 17:57:30 +0000 (10:57 -0700)
commitb7bb125dc3d0ca3f72c9116525ce0f018a9844e1
tree80063303e08e8ae5ef89ef363635e0dc93ead240
parent49f019d66d056ebb261d261d7c89cb698f5eec18
SCSI: use the proper semaphore to protect the class lists

SCSI was using the incorrect lock to protect walking the list of all
devices in the class.  This patch fixes this.

Cc: James Bottomley <James.Bottomley@SteelEye.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/hosts.c