]> git.baikalelectronics.ru Git - kernel.git/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)
commit5dddc987ac642d7c08c58294eb9dfd55b3b47402
tree80063303e08e8ae5ef89ef363635e0dc93ead240
parentaf69985a5a499f2365f59f32f5f65d1e741216ac
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