diff options
author | Anil Veerabhadrappa <anilgv@broadcom.com> | 2009-06-23 21:07:40 (GMT) |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-08-22 22:51:53 (GMT) |
commit | 3be924fb1d7be90c3ae6aa30ca42e9aa5d75efaf (patch) | |
tree | 5b0f81e20c15a8f11c5b0aca137768d415ca91e7 /drivers/zorro | |
parent | 4e85f15166a6a9da8317ddb8600b604b27e58aa3 (diff) | |
download | linux-fsl-qoriq-3be924fb1d7be90c3ae6aa30ca42e9aa5d75efaf.tar.xz |
[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/zorro')
0 files changed, 0 insertions, 0 deletions