summaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi_transport_fc.c
diff options
context:
space:
mode:
authorAnil Veerabhadrappa <anilgv@broadcom.com>2009-06-23 14:07:40 -0700
committerJames Bottomley <James.Bottomley@suse.de>2009-08-22 17:51:53 -0500
commit3be924fb1d7be90c3ae6aa30ca42e9aa5d75efaf (patch)
tree5b0f81e20c15a8f11c5b0aca137768d415ca91e7 /drivers/scsi/scsi_transport_fc.c
parent4e85f15166a6a9da8317ddb8600b604b27e58aa3 (diff)
[SCSI] bnx2i: convert bnx2i_dev_lock to mutex
convert bnx2i_dev_lock to type mutex from rwlock_t because cnic->register_device() can sleep for various reasons including memory allocation, waiting for ISCSI_INIT completion and while acquiring mutex lock, cnic_lock. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: Anil Veerabhadrappa <anilgv@broadcom.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/scsi_transport_fc.c')
0 files changed, 0 insertions, 0 deletions