From: Anil Veerabhadrappa Date: Tue, 23 Jun 2009 21:07:40 +0000 (-0700) Subject: [SCSI] bnx2i: convert bnx2i_dev_lock to mutex X-Git-Tag: v2.6.32-rc1~689^2~203 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3be924fb1d7be90c3ae6aa30ca42e9aa5d75efaf;p=pandora-kernel.git [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 Signed-off-by: Anil Veerabhadrappa Reviewed-by: Mike Christie Signed-off-by: James Bottomley Signed-off-by: James Bottomley --- Reading git-diff-tree failed