[SCSI] bfa: protect idr using bfad_mutex
authorJing Huang <huangj@brocade.com>
Fri, 19 Mar 2010 18:07:09 +0000 (11:07 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 11 Apr 2010 14:24:20 +0000 (09:24 -0500)
commit42b426ecb453cf49c3d16cf1d7a5e5d8cab9869d
tree42ca564f37e62c7797cea8816ac934e5347ea757
parentb3522f08ec7011aed0abc477bfedd00d189e9cd6
[SCSI] bfa: protect idr using bfad_mutex

idr is a global resource, protect it with global bfad_mutex.

Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/bfa/bfad.c
drivers/scsi/bfa/bfad_drv.h
drivers/scsi/bfa/bfad_im.c