summaryrefslogtreecommitdiff
path: root/lib/ts_bm.c
diff options
context:
space:
mode:
authorAnil Veerabhadrappa <anilgv@broadcom.com>2009-06-23 21:07:40 (GMT)
committerJames Bottomley <James.Bottomley@suse.de>2009-08-22 22:51:53 (GMT)
commit3be924fb1d7be90c3ae6aa30ca42e9aa5d75efaf (patch)
tree5b0f81e20c15a8f11c5b0aca137768d415ca91e7 /lib/ts_bm.c
parent4e85f15166a6a9da8317ddb8600b604b27e58aa3 (diff)
downloadlinux-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 'lib/ts_bm.c')
0 files changed, 0 insertions, 0 deletions